port should not complain about +universal, CFLAGS/LDFLAGS,
configure.universal_cflags-append/configure.universal_ldflags-append
Elias Pipping
pipping at macports.org
Sun Mar 18 03:52:45 PDT 2007
Let's wait for official support of +universal with that...
eventually the whole if clause will be gone anyway.
I mean really, there's worse problems than obsolete warnings,
especially with gettext. e.g. gettext +universal is somehow
incomplete: all the libasprintf-related files are missing completely.
diff the results of port contents with and without +universal and see
for yourself (ideas, patches appreciated)
see also http://page.mi.fu-berlin.de/~pipping/macports/universal for
a list of such problems.
Regards
Elias
On Mar 18, 2007, at 7:00 AM, Ryan Schmidt wrote:
> When installing gettext +universal, port warns me that it might not
> work because the port already overrides CFLAGS or LDFLAGS:
>
> $ sudo port install gettext +universal
> Warning: This port already overrides CFLAGS or LDFLAGS. The
> universal variant may break it.
> ---> Extracting gettext
> ---> Applying patches to gettext
> ---> Configuring gettext
> ---> Building gettext with target all
> ---> Staging gettext into destroot
> ---> Installing gettext 0.16.1_0+universal
> ---> Activating gettext 0.16.1_0+universal
> $
>
> However, this is not a problem here because the gettext port deals
> with the situation:
>
> if {[llength [info commands configure.universal_ldflags-append]] >
> 0} {
> configure.universal_ldflags-append -L$prefix/lib
> configure.universal_cflags-append -I$prefix/include -no-cpp-precomp
> } else {
> variant universal {
> return -code error "You need to be running MacPorts 1.4.0 or
> higher to \
> use this variant (universal)."
> }
> }
>
> port should not print that warning if configure.universal_cflags-
> append or .universal_ldflags-append are used.
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev
More information about the macports-dev
mailing list