[91289] trunk/dports/_resources/port1.0/group/python-1.0.tcl

and.damore at macports.org and.damore at macports.org
Wed Mar 28 06:42:15 PDT 2012


Revision: 91289
          https://trac.macports.org/changeset/91289
Author:   and.damore at macports.org
Date:     2012-03-28 06:42:12 -0700 (Wed, 28 Mar 2012)
Log Message:
-----------
python portgroup: passing build.env variables to destroot.env since building happens in destroot phase as well. Handles #33791, fixes +universal build as well. Shouldn't harm any other python module correctly behaving in destroot.

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

Modified: trunk/dports/_resources/port1.0/group/python-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/python-1.0.tcl	2012-03-28 12:10:58 UTC (rev 91288)
+++ trunk/dports/_resources/port1.0/group/python-1.0.tcl	2012-03-28 13:42:12 UTC (rev 91289)
@@ -54,6 +54,9 @@
 build.target    build
 
 pre-destroot    {
+    foreach part ${build.env} {
+        destroot.env-append $part
+    }
     xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120328/104ed099/attachment.html>


More information about the macports-changes mailing list