[52469] trunk/dports/lang/python25/Portfile

blb at macports.org blb at macports.org
Wed Jun 17 00:26:37 PDT 2009


Revision: 52469
          http://trac.macports.org/changeset/52469
Author:   blb at macports.org
Date:     2009-06-17 00:26:36 -0700 (Wed, 17 Jun 2009)
Log Message:
-----------
lang/python25 - Fix incorrectly-pointed libpython2.5.a symlink; ticket #19906 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/lang/python25/Portfile

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2009-06-17 05:54:12 UTC (rev 52468)
+++ trunk/dports/lang/python25/Portfile	2009-06-17 07:26:36 UTC (rev 52469)
@@ -5,7 +5,7 @@
 
 name                    python25
 version                 2.5.4
-revision                5
+revision                6
 set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              lang
 platforms               darwin
@@ -112,6 +112,12 @@
         foreach dir { Headers Resources Python Versions/Current } {
             file delete ${destroot}${framewpath}/${dir}
         }
+
+        # Fix incorrectly-pointed libpython2.5.a symlink, see
+        # http://trac.macports.org/ticket/19906
+        set python_staticlink ${destroot}${prefix}/lib/python${branch}/config/libpython${branch}.a
+        file delete ${python_staticlink}
+        ln -s ${framewdir}/Python ${python_staticlink}
 }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090617/8c53c2fe/attachment-0001.html>


More information about the macports-changes mailing list