user variable

Mark Brethen mark.brethen at gmail.com
Fri Oct 3 18:52:05 PDT 2014


If I have to set a variable using a shell script included in the ${distfiles}, for example:

set builddir [exec ${worksrcpath}/scripts/findhost.sh [exec ${worksrcpath}/config.guess]]

and the variable is used in both build and destroot phases, can I set it just once? or do I have to set it twice? In other words can I make it a global variable?


Mark






More information about the macports-dev mailing list