universal_variant no not being honored?

Bryan Blackburn blb at macports.org
Sun Jul 5 00:38:30 PDT 2009


On Sat, Jul 04, 2009 at 05:34:58PM -0700, Jeremy Huddleston said:
> 
> On Jul 4, 2009, at 15:53, Bryan Blackburn wrote:
> 
> >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?
> 
> Nope, it's definitely getting CFLAGS from base.  I switched it over
> to muniversal, and it's now building correctly. (did you try it
> before I pushed the muniversal change or after?)

Was definitely before the muniversal change, if Josh's fix was it then
perhaps +universal needed to be set someplace?  That could be it if you have
it set in variants.conf since my run was quite variant-free.

Bryan



More information about the macports-dev mailing list