[86081] trunk/dports/python/py-sip/Portfile

eborisch at macports.org eborisch at macports.org
Tue Oct 18 19:06:05 PDT 2011


Revision: 86081
          http://trac.macports.org/changeset/86081
Author:   eborisch at macports.org
Date:     2011-10-18 19:06:02 -0700 (Tue, 18 Oct 2011)
Log Message:
-----------
py-sip: Fix sip's record of the binary (sip -> sip-NN) name. Should address #31592.

Modified Paths:
--------------
    trunk/dports/python/py-sip/Portfile

Modified: trunk/dports/python/py-sip/Portfile
===================================================================
--- trunk/dports/python/py-sip/Portfile	2011-10-19 01:12:21 UTC (rev 86080)
+++ trunk/dports/python/py-sip/Portfile	2011-10-19 02:06:02 UTC (rev 86081)
@@ -6,7 +6,7 @@
 
 name                py-sip
 version             4.12.4
-revision            1
+revision            2
 python.versions     24 25 26 27 31
 # must default to version 24
 categories          python devel
@@ -47,6 +47,12 @@
             ${worksrcpath}/specs/macx-g++
     }
 
+    post-configure {
+# fix sip bin name
+       reinplace "s|bin/sip|bin/sip-${python.branch}|g" \
+         ${worksrcpath}/sipconfig.py
+    }
+
     configure.cmd       ${python.bin} configure.py
     configure.pre_args  -d ${python.bin} \
                         -e ${python.include} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111018/9c5ab28a/attachment.html>


More information about the macports-changes mailing list