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

snc at macports.org snc at macports.org
Tue Oct 11 11:44:51 PDT 2011


Revision: 85214
          http://trac.macports.org/changeset/85214
Author:   snc at macports.org
Date:     2011-10-11 11:44:49 -0700 (Tue, 11 Oct 2011)
Log Message:
-----------
py-sip: fix hardcoded destroot paths

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

Modified: trunk/dports/python/py-sip/Portfile
===================================================================
--- trunk/dports/python/py-sip/Portfile	2011-10-11 18:31:36 UTC (rev 85213)
+++ trunk/dports/python/py-sip/Portfile	2011-10-11 18:44:49 UTC (rev 85214)
@@ -92,8 +92,8 @@
         xinstall -m 644 -W ${worksrcpath} LICENSE LICENSE-GPL2 LICENSE-GPL3 NEWS README \
             ${destroot}${prefix}/share/doc/${subport}
         move ${destroot}${prefix}/bin/sip ${destroot}${prefix}/bin/sip-${python.branch}
-        system "${python.bin} ${prefix}/lib/python2.4/compileall.py ${destroot}${prefix}"
-        system "${python.bin} -O ${prefix}/lib/python2.4/compileall.py ${destroot}${prefix}"
+        system "${python.bin} ${python.libdir}/compileall.py ${destroot}${prefix}"
+        system "${python.bin} -O ${python.libdir}/compileall.py ${destroot}${prefix}"
     }
 
     livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111011/d64f6bed/attachment.html>


More information about the macports-changes mailing list