[135287] trunk/dports/math/octave-symbolic/Portfile

michaelld at macports.org michaelld at macports.org
Wed Apr 22 05:55:07 PDT 2015


Revision: 135287
          https://trac.macports.org/changeset/135287
Author:   michaelld at macports.org
Date:     2015-04-22 05:55:07 -0700 (Wed, 22 Apr 2015)
Log Message:
-----------
octave-symbolic: make sure the correct MacPorts' PYTHON is found and used.

Modified Paths:
--------------
    trunk/dports/math/octave-symbolic/Portfile

Modified: trunk/dports/math/octave-symbolic/Portfile
===================================================================
--- trunk/dports/math/octave-symbolic/Portfile	2015-04-22 12:18:02 UTC (rev 135286)
+++ trunk/dports/math/octave-symbolic/Portfile	2015-04-22 12:55:07 UTC (rev 135287)
@@ -25,6 +25,8 @@
         reinplace "s|@PYTHON@|${prefix}/bin/python2.7|g" \
             ${worksrcpath}/inst/sympref.m
     }
+    configure.env-append \
+        PYTHON=${prefix}/bin/python2.7
 }
 
 variant python34 description "Use Python 3.4 SymPy" conflicts python27 {
@@ -33,6 +35,8 @@
         reinplace "s|@PYTHON@|${prefix}/bin/python3.4|g" \
             ${worksrcpath}/inst/sympref.m
     }
+    configure.env-append \
+        PYTHON=${prefix}/bin/python3.4
 }
 
 if {![variant_isset python27] && ![variant_isset python34]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150422/1ec3bec7/attachment-0001.html>


More information about the macports-changes mailing list