[137542] trunk/dports/math/octave-symbolic/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sat Jun 13 16:37:06 PDT 2015
Revision: 137542
https://trac.macports.org/changeset/137542
Author: khindenburg at macports.org
Date: 2015-06-13 16:37:04 -0700 (Sat, 13 Jun 2015)
Log Message:
-----------
octave-symbolic: fix variants' dependencies #48023
Modified Paths:
--------------
trunk/dports/math/octave-symbolic/Portfile
Modified: trunk/dports/math/octave-symbolic/Portfile
===================================================================
--- trunk/dports/math/octave-symbolic/Portfile 2015-06-13 22:58:37 UTC (rev 137541)
+++ trunk/dports/math/octave-symbolic/Portfile 2015-06-13 23:37:04 UTC (rev 137542)
@@ -20,7 +20,9 @@
patchfiles-append patch-inst_sympref.m.diff
variant python27 description "Use Python 2.7 SymPy" conflicts python34 {
- depends_run-append port:py27-sympy
+ depends_lib-append port:python27 \
+ port:py27-sympy
+
post-patch {
reinplace "s|@PYTHON@|${prefix}/bin/python2.7|g" \
${worksrcpath}/inst/sympref.m
@@ -30,7 +32,9 @@
}
variant python34 description "Use Python 3.4 SymPy" conflicts python27 {
- depends_run-append port:py34-sympy
+ depends_lib-append port:python34 \
+ port:py34-sympy
+
post-patch {
reinplace "s|@PYTHON@|${prefix}/bin/python3.4|g" \
${worksrcpath}/inst/sympref.m
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150613/f5754383/attachment.html>
More information about the macports-changes
mailing list