[69512] trunk/dports/lang/python27
Joshua Root
jmr at macports.org
Thu Jul 8 10:34:18 PDT 2010
On 2010-7-9 03:29 , Jyrki Wahlstedt wrote:
>
> On 8.7.2010, at 20.01, Ryan Schmidt wrote:
>
>>
>> On Jul 8, 2010, at 09:46, jwa at macports.org wrote:
>>
>>> Revision: 69512
>>> http://trac.macports.org/changeset/69512
>>> Author: jwa at macports.org
>>> Date: 2010-07-08 07:46:27 -0700 (Thu, 08 Jul 2010)
>>> Log Message:
>>> -----------
>>> release version 2.7, adding two patches to enable universal build
>>
>>> Modified: trunk/dports/lang/python27/Portfile
>>> ===================================================================
>>> --- trunk/dports/lang/python27/Portfile 2010-07-08 14:26:27 UTC (rev 69511)
>>> +++ trunk/dports/lang/python27/Portfile 2010-07-08 14:46:27 UTC (rev 69512)
>>> @@ -4,11 +4,11 @@
>>> PortGroup select 1.0
>>>
>>> name python27
>>> -version 2.7rc2
>>> +version 2.7
>>
>> You'll need to increase the epoch, because MacPorts considers 2.7 to be less than 2.7rc2.
>>
> Oh well,
> I'll do that. Another question about Python ports: I suspect I have two basically unnecessary patch files in this port, because for some reason I get duplicated arch flags (building universal, that is) confusing python compilations. What would be the best way to get rid of those?
It all depends where it's getting them from. We pass '-arch foo' in
CFLAGS, CXXFLAGS, OBJCFLAGS, and LDFLAGS. Each of these is correct on
its own, and most build systems have no trouble even if they call gcc
with e.g. both $CFLAGS and $LDFLAGS, since gcc doesn't mind repeated
options.
- Josh
More information about the macports-dev
mailing list