port should not complain about +universal, CFLAGS/LDFLAGS,
configure.universal_cflags-append/configure.universal_ldflags-append
Randall Wood
rhwood at mac.com
Sun Mar 18 04:46:30 PDT 2007
Why don't we create it at https://svn.macosforge.org/projects/
macports/wiki/Universal
On 18 Mar 2007, at 07:26, Elias Pipping wrote:
> Sure, where would you want me to put it?
>
> On Mar 18, 2007, at 12:14 PM, Randall Wood wrote:
>
>> Can you put that list in Trac?
>>
>> On 18 Mar 2007, at 06:52, Elias Pipping wrote:
>>
>>> 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
>>>
>>> _______________________________________________
>>> macports-dev mailing list
>>> macports-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo/macports-dev
>>
>>
>> Randall Wood
>> rhwood at mac.com
>>
>> "The rules are simple: The ball is round. The game lasts 90
>> minutes. All the
>> rest is just philosophy."
>>
>
Randall Wood
rhwood at mac.com
"The rules are simple: The ball is round. The game lasts 90 minutes.
All the
rest is just philosophy."
More information about the macports-dev
mailing list