r48332 openssl command line configure.optflags=-fast doesn't override (-O3)

Joshua Root jmr at macports.org
Fri Mar 20 07:19:08 PDT 2009


Ceriel Jacobs wrote:
> On Mon Feb 16 13:21:30 PST 2009 Marcus Calhoun-Lopez worte:
>>> You could write a shell script which overrides the default values
>>> <snip>
>>> You can also edit the file
>>> ${prefix}/share/macports/Tcl/port1.0/portconfigure.tcl
>>> These two actions only set the default value.
>>> A Portfile can override your value as well.
> 
> On Mon Feb 16 17:01:33 PST 2009 Rainer Müller wrote:
>> No, command line options override values given in the Portfile.
> 
> When setting portconfigure.tcl to default configure.optflags=-fast
> openssl reverts the optflag back to -O3.
> 
> When specifying one the command line, openssl still uses -O3.
> 
> Besides the openssl port file [1] doesn't contain -O3 neither any text
> containing the word flag.
> [1] http://trac.macports.org/browser/trunk/dports/devel/openssl/Portfile
> 
> Other port installs, like zlib, do honour the flag -fast.
> 
> What am I missing that the command
> $ sudo /opt/local/bin/port -d install openssl +universal
> configure.optflags=-fast configure.march=nocona
> still uses -O3 instead of the specified -fast as flag?
> 
> Or should I file a ticket? Is this a bug submission or a feature request?

OpenSSL just doesn't use any old CFLAGS you set in the environment. This
is an upstream bug / design decision.

- Josh


More information about the macports-users mailing list