[43147] trunk/dports/_resources/port1.0/group/python26-1.0.tcl

jmr at macports.org jmr at macports.org
Fri Dec 5 15:03:50 PST 2008


Revision: 43147
          http://trac.macports.org/changeset/43147
Author:   jmr at macports.org
Date:     2008-12-05 15:03:50 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
python26 portgroup: clobbering $prefix is a bad idea

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/python26-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/python26-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2008-12-05 23:03:30 UTC (rev 43146)
+++ trunk/dports/_resources/port1.0/group/python26-1.0.tcl	2008-12-05 23:03:50 UTC (rev 43147)
@@ -36,13 +36,13 @@
 if {![info exists frameworks_dir]} {
     set frameworks_dir ${prefix}/Library/Frameworks
 }
-set prefix ${frameworks_dir}/Python.framework/Versions/2.6
+set python.prefix ${frameworks_dir}/Python.framework/Versions/2.6
 
-set python.bin	${prefix}/bin/python2.6
-set python.lib	${prefix}/Python
-set python.libdir ${prefix}/lib/python2.6
-set python.pkgd	${prefix}/lib/python2.6/site-packages
-set python.include	${prefix}/include/python2.6
+set python.bin	${python.prefix}/bin/python2.6
+set python.lib	${python.prefix}/Python
+set python.libdir ${python.prefix}/lib/python2.6
+set python.pkgd	${python.prefix}/lib/python2.6/site-packages
+set python.include	${python.prefix}/include/python2.6
 
 categories		python
 
@@ -56,7 +56,7 @@
 build.target	build
 
 destroot.cmd	${python.bin} setup.py --no-user-cfg
-destroot.destdir	--prefix=${prefix} --root=${destroot}
+destroot.destdir	--prefix=${python.prefix} --root=${destroot}
 
 pre-destroot	{
 	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/361bbe7f/attachment.html>


More information about the macports-changes mailing list