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

Ceriel Jacobs cerieljacobs at gmail.com
Fri Mar 20 06:38:43 PDT 2009


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?

~Ceriel

Environment: universal=x86_64, compiler=gcc-4.2
---
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/devel/openssl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 9.6.0
DEBUG: Mac OS X Version: 10.5
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
<snip>
CFLAG         =-fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 - 
isysroot /Developer/SDKs/MacOSX10.5.sdk -O3 -fomit-frame-pointer - 
DL_ENDIAN -DMD32_REG_T=int -Wall
<snip>



More information about the macports-users mailing list