[78877] trunk/dports/python
jmr at macports.org
jmr at macports.org
Wed May 25 06:00:41 PDT 2011
Revision: 78877
http://trac.macports.org/changeset/78877
Author: jmr at macports.org
Date: 2011-05-25 06:00:40 -0700 (Wed, 25 May 2011)
Log Message:
-----------
py26-pyobjc, py27-pyobjc: fix universal build by using macports libxml2 (#25913)
Modified Paths:
--------------
trunk/dports/python/py26-pyobjc/Portfile
trunk/dports/python/py27-pyobjc/Portfile
Added Paths:
-----------
trunk/dports/python/py26-pyobjc/files/
trunk/dports/python/py26-pyobjc/files/setup.py.diff
trunk/dports/python/py27-pyobjc/files/
trunk/dports/python/py27-pyobjc/files/setup.py.diff
Modified: trunk/dports/python/py26-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py26-pyobjc/Portfile 2011-05-25 12:23:22 UTC (rev 78876)
+++ trunk/dports/python/py26-pyobjc/Portfile 2011-05-25 13:00:40 UTC (rev 78877)
@@ -27,8 +27,11 @@
rmd160 8c7b5ec7478035490bcb78193b7659ee6293c785
depends_lib port:py26-distribute \
- path:${python.pkgd}/py2app/__init__.py:py26-py2app
+ path:${python.pkgd}/py2app/__init__.py:py26-py2app \
+ port:libxml2
+patchfiles setup.py.diff
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
License.txt NEWS.txt README.txt \
Added: trunk/dports/python/py26-pyobjc/files/setup.py.diff
===================================================================
--- trunk/dports/python/py26-pyobjc/files/setup.py.diff (rev 0)
+++ trunk/dports/python/py26-pyobjc/files/setup.py.diff 2011-05-25 13:00:40 UTC (rev 78877)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2010-07-25 00:38:17.000000000 +1000
++++ setup.py 2011-05-25 22:47:49.000000000 +1000
+@@ -22,7 +22,7 @@
+ # Set USE_SYSTEM_LIBXML to True to link to the system version
+ # of libxml2 (defaults to False to avoid problems when building
+ # on 10.6 and running on an earlier release)
+-USE_SYSTEM_LIBXML = False
++USE_SYSTEM_LIBXML = True
+
+ if sys.version_info < MIN_PYTHON:
+ vstr = '.'.join(map(str, MIN_PYTHON))
Modified: trunk/dports/python/py27-pyobjc/Portfile
===================================================================
--- trunk/dports/python/py27-pyobjc/Portfile 2011-05-25 12:23:22 UTC (rev 78876)
+++ trunk/dports/python/py27-pyobjc/Portfile 2011-05-25 13:00:40 UTC (rev 78877)
@@ -27,8 +27,11 @@
rmd160 8c7b5ec7478035490bcb78193b7659ee6293c785
depends_lib port:py27-distribute \
- path:${python.pkgd}/py2app/__init__.py:py27-py2app
+ path:${python.pkgd}/py2app/__init__.py:py27-py2app \
+ port:libxml2
+patchfiles setup.py.diff
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
License.txt NEWS.txt README.txt \
Added: trunk/dports/python/py27-pyobjc/files/setup.py.diff
===================================================================
--- trunk/dports/python/py27-pyobjc/files/setup.py.diff (rev 0)
+++ trunk/dports/python/py27-pyobjc/files/setup.py.diff 2011-05-25 13:00:40 UTC (rev 78877)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2010-07-25 00:38:17.000000000 +1000
++++ setup.py 2011-05-25 22:47:49.000000000 +1000
+@@ -22,7 +22,7 @@
+ # Set USE_SYSTEM_LIBXML to True to link to the system version
+ # of libxml2 (defaults to False to avoid problems when building
+ # on 10.6 and running on an earlier release)
+-USE_SYSTEM_LIBXML = False
++USE_SYSTEM_LIBXML = True
+
+ if sys.version_info < MIN_PYTHON:
+ vstr = '.'.join(map(str, MIN_PYTHON))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110525/42ce93ba/attachment.html>
More information about the macports-changes
mailing list