[143454] trunk/dports/python/py-numpy/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Dec 12 11:00:40 PST 2015


Revision: 143454
          https://trac.macports.org/changeset/143454
Author:   mcalhoun at macports.org
Date:     2015-12-12 10:28:49 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
py-numpy: build.env and destroot.env should be modified in pre-build and pre-destroot respectively (see #49948  for a similar issue)

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

Modified: trunk/dports/python/py-numpy/Portfile
===================================================================
--- trunk/dports/python/py-numpy/Portfile	2015-12-12 18:19:33 UTC (rev 143453)
+++ trunk/dports/python/py-numpy/Portfile	2015-12-12 18:28:49 UTC (rev 143454)
@@ -36,7 +36,11 @@
                             port:py${python.version}-nose \
                             port:py${python.version}-cython
 
-    pre-configure {
+    pre-build {
+        build.env-append        ARCHFLAGS="[get_canonical_archflags ld]"
+    }
+
+    pre-destroot {
         # http://trac.macports.org/ticket/34562
         destroot.env-append \
             CC="${configure.cc}" \
@@ -47,7 +51,6 @@
             OBJCFLAGS="${configure.objcflags} [get_canonical_archflags objc]" \
             LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
 
-        build.env-append        ARCHFLAGS="[get_canonical_archflags ld]"
         destroot.env-append     ARCHFLAGS="[get_canonical_archflags ld]"
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/d91b8efa/attachment.html>


More information about the macports-changes mailing list