[59186] trunk/dports/lang/python26
blb at macports.org
blb at macports.org
Sun Oct 11 02:02:27 PDT 2009
Revision: 59186
http://trac.macports.org/changeset/59186
Author: blb at macports.org
Date: 2009-10-11 02:02:26 -0700 (Sun, 11 Oct 2009)
Log Message:
-----------
lang/python26 - make sure ctypes actually knows to look in MacPorts library location
Modified Paths:
--------------
trunk/dports/lang/python26/Portfile
Added Paths:
-----------
trunk/dports/lang/python26/files/patch-Lib-ctypes-macholib-dyld.py.diff
Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile 2009-10-11 08:57:36 UTC (rev 59185)
+++ trunk/dports/lang/python26/Portfile 2009-10-11 09:02:26 UTC (rev 59186)
@@ -5,6 +5,7 @@
name python26
version 2.6.3
+revision 1
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
@@ -41,7 +42,8 @@
patch-Mac-Makefile.in.diff \
patch-Mac-PythonLauncher-Makefile.in.diff \
patch-Mac-Tools-Doc-setup.py.diff \
- patch-readlinefix.diff
+ patch-readlinefix.diff \
+ patch-Lib-ctypes-macholib-dyld.py.diff
depends_lib port:gettext port:zlib port:openssl port:tk \
port:sqlite3 port:db46 port:ncurses port:gdbm \
@@ -53,7 +55,8 @@
configure.cppflags-append -I${prefix}/include/ncurses
post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Lib/cgi.py
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Lib/cgi.py \
+ ${worksrcpath}/Lib/ctypes/macholib/dyld.py
reinplace "s|@@APPLICATIONS_DIR@@|${applications_dir}|g" \
${worksrcpath}/Mac/Makefile.in ${worksrcpath}/Mac/IDLE/Makefile.in \
${worksrcpath}/Mac/Tools/Doc/setup.py \
Added: trunk/dports/lang/python26/files/patch-Lib-ctypes-macholib-dyld.py.diff
===================================================================
--- trunk/dports/lang/python26/files/patch-Lib-ctypes-macholib-dyld.py.diff (rev 0)
+++ trunk/dports/lang/python26/files/patch-Lib-ctypes-macholib-dyld.py.diff 2009-10-11 09:02:26 UTC (rev 59186)
@@ -0,0 +1,11 @@
+--- Lib/ctypes/macholib/dyld.py.orig 2008-02-21 11:52:20.000000000 -0700
++++ Lib/ctypes/macholib/dyld.py 2009-10-11 02:42:21.000000000 -0600
+@@ -26,7 +26,7 @@
+
+ DEFAULT_LIBRARY_FALLBACK = [
+ os.path.expanduser("~/lib"),
+- "/usr/local/lib",
++ "@@PREFIX@@/lib",
+ "/lib",
+ "/usr/lib",
+ ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091011/799fc032/attachment.html>
More information about the macports-changes
mailing list