[48320] trunk/dports/lang/python24/Portfile
blb at macports.org
blb at macports.org
Wed Mar 18 23:13:45 PDT 2009
Revision: 48320
http://trac.macports.org/changeset/48320
Author: blb at macports.org
Date: 2009-03-18 23:13:44 -0700 (Wed, 18 Mar 2009)
Log Message:
-----------
lang/python24 - fix an incorrectly-pointed symlink
Modified Paths:
--------------
trunk/dports/lang/python24/Portfile
Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile 2009-03-19 05:52:14 UTC (rev 48319)
+++ trunk/dports/lang/python24/Portfile 2009-03-19 06:13:44 UTC (rev 48320)
@@ -4,7 +4,7 @@
name python24
version 2.4.6
-revision 1
+revision 2
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
@@ -84,6 +84,11 @@
file rename ${destroot}${framewdir}/${dir}/python${branch} ${destroot}${prefix}/${dir}
ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
}
+ # Since the lib/python${branch} dir was just moved above and
+ # libpython2.4.a in lib/python${branch}/config is relative, we need
+ # to repoint it here
+ file delete ${destroot}${prefix}/lib/python${branch}/config/libpython${branch}.a
+ ln -s ${framewdir}/Python ${destroot}${prefix}/lib/python${branch}/config/libpython${branch}.a
ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090318/a941d8a4/attachment.html>
More information about the macports-changes
mailing list