universal_variant no not being honored?

Bryan Blackburn blb at macports.org
Sat Jul 4 15:53:19 PDT 2009

On Sat, Jul 04, 2009 at 03:24:53PM -0700, Jeremy Huddleston said:
> samba3 has 'universal_variant no' set, but it looks like it's still
> trying to build universal (I'm using base trunk):

Just tried it here, and only see 

Using FLAGS      =  -pipe -O2 -arch i386 -fno-common -O -D_SAMBA_BUILD_=3 -fno-common -I/mp/var/macports/build/_Users_blb_devel_macports_trunk_dports_net_samba3/work/samba-3.2.12/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -I/mp/include -DHAVE_STRUCT_TIMESPEC -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED   -I/include -I/mp/var/macports/build/_Users_blb_devel_macports_trunk_dports_net_samba3/work/samba-3.2.12/source/lib -D_SAMBA_BUILD_=3

My universal_archs is set to 'ppc i386' so it doesn't seem to be picking
that up; my install is also trunk, last installed a little over 12 hours
ago.  Do you have any of samba3's dependencies installed +universal?  Maybe
it's getting some CFLAGS from one of those?


> Using FLAGS      =  -O2 -arch x86_64 -arch i386 -arch ppc -fno-common
> -O -D_SAMBA_BUILD_=3 -fno-common  -I/opt/local/var/macports/build/
> _Users_jeremy_src_macports-trunk_dports_net_samba3/work/samba-3.2.12/
> source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -
> I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -
> DHAVE_CONFIG_H  -I/opt/local/include -DHAVE_STRUCT_TIMESPEC -Iinclude
> -I./include -I. -I. -I./lib/replace -I./lib/talloc
> -I./lib/tdb/include -I./libaddns -I./librpc -I./popt
> -DLDAP_DEPRECATED   -I/include -I/opt/
> local/var/macports/build/_Users_jeremy_src_macports-
> trunk_dports_net_samba3/work/samba-3.2.12/source/lib
>       PICFLAG    = -fPIE
>       LIBS       = -lresolv -liconv
>       LDFLAGS    = -dynamic -Wl,-search_paths_first -L/opt/local/lib
> -arch x86_64 -L./bin
>       DYNEXP     =
>       LDSHFLAGS  = -dynamiclib -flat_namespace -undefined suppress  -
> dynamic -Wl,-search_paths_first -L/opt/local/lib -arch x86_64 -L./bin
>       SHLIBEXT   = dylib
>       SONAMEFLAG = #

More information about the macports-dev mailing list