[53512] trunk/dports/devel/boost/Portfile

nox at macports.org nox at macports.org
Tue Jul 7 03:45:22 PDT 2009


Revision: 53512
          http://trac.macports.org/changeset/53512
Author:   nox at macports.org
Date:     2009-07-07 03:45:22 -0700 (Tue, 07 Jul 2009)
Log Message:
-----------
boost: Use `file normalize` to get an absolute path for the python site-packages directory (closes #20077).

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2009-07-07 10:41:18 UTC (rev 53511)
+++ trunk/dports/devel/boost/Portfile	2009-07-07 10:45:22 UTC (rev 53512)
@@ -90,7 +90,7 @@
     foreach s ${pythons_suffixes} {
         if {[variant_isset python${s}]} {
             set p python[string index ${s} 0].[string index ${s} 1]
-            return [exec ${p} -c "import sys; print sys.prefix"]/lib/${p}/site-packages
+            return [file normalize [exec ${p} -c "import sys; print sys.prefix"]/lib/${p}/site-packages]
         }
     }
     error "Python support not enabled."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090707/cc955462/attachment.html>


More information about the macports-changes mailing list