On 2012-07-25 20:18, Scot Hetzel wrote:
> On Wed, Jul 25, 2012 at 12:09 PM, Oliver Fromme <o...@lurza.secnetix.de> 
> wrote:

>>
>> I also tried the other settings you suggested, and none
>> of them works.  It's always overridden by the settings
>> that are stored in $PORT_DBDIR.
>>
>> With the old framework, I could override $PORT_DBDIR with
>> "WITH_ZSH_STATIC=true" ...  Can't this be done with the
>> new framework, too?
>>
> Reading thru the Mk/bsd.options.mk, it seems you should be able to do:
> 
> $ WITH_STATIC=true make showconfig
> 
> And it might override the saved settings from the OPTIONSFILE.


No, this will not work.

$ make showconfig | grep STATIC
     STATIC=off: Build static executable/libraries

$ make -V LDFLAGS
 -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib


$ make -V LDFLAGS WITH_STATIC=true
 -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib

Expected result:
 -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -static


Seems we will see more such issues with slave ports since they cannot overwrite 
the optionsfile (maybe a fake target in the slave with make rmconfig can be a 
solution ;)

For me this is a regression which was already discussed on this list ( 
optionsng and tinderbox? )

I also ask with a simple example and got no answers ( options NG and slave/sub 
ports )
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to