[104698] trunk/dports/devel/csu/Portfile
Michael Feiri
mfeiri at macports.org
Sun Mar 31 15:30:59 PDT 2013
On 01.04.2013, at 00:02, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Mar 31, 2013, at 17:01, mfeiri at macports.org wrote:
>
>> Revision: 104698
>> https://trac.macports.org/changeset/104698
>> Author: mfeiri at macports.org
>> Date: 2013-03-31 15:01:52 -0700 (Sun, 31 Mar 2013)
>> Log Message:
>> -----------
>> csu: use configure.universal_archs
>>
>> Modified Paths:
>> --------------
>> trunk/dports/devel/csu/Portfile
>>
>> Modified: trunk/dports/devel/csu/Portfile
>> ===================================================================
>> --- trunk/dports/devel/csu/Portfile 2013-03-31 22:01:10 UTC (rev 104697)
>> +++ trunk/dports/devel/csu/Portfile 2013-03-31 22:01:52 UTC (rev 104698)
>> @@ -3,7 +3,7 @@
>> PortSystem 1.0
>> name csu
>> version 79
>> -revision 1
>> +revision 3
>> categories devel
>> platforms darwin
>> maintainers mfeiri
>> @@ -24,10 +24,9 @@
>>
>> variant universal {
>> if {${os.major} == 9} {
>> - build.env-append RC_ARCHS='ppc ppc64 i386 x86_64'
>> - } else {
>> - build.env-append RC_ARCHS='i386 x86_64'
>> + configure.universal_archs ppc ppc64 i386 x86_64
>> }
>> + build.env-append RC_ARCHS='${configure.universal_archs}'
>> }
>
> Why do we force Leopard users to build a 4-way universal binary?
Because gcc will complain if crt1 doesn't support all architectures.
Regards, Michael
More information about the macports-dev
mailing list