Search code examples
macports

How to recompile macport with additional ./configure flag?


I have a py27-tkinter macport installed and it seems that it is compiled without "--enable-threads" flag that makes it unusable. It is any easy way without hand modification of portfile to recompile this port with addition ./configure flag? Brief internet search shows configure.args, but this command:

sudo port upgrade --force py27-tkinter configure.args="--enable-threads"

Changes nothing. Is it something i'm doing wrong or manual portfile modification is the only way?


Solution

  • Solution found: need to reinstall tcl macport with +threads variant.