aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-09-06 12:18:18 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-09-06 12:18:18 +0000
commita8a1754e23ef584b6c74bf5676cae6788b434647 (patch)
tree48e2339294583b62bf49db36bf3678536ac108b5 /math
parent56c6e473560d429ee78ad437629ead36bdbe29a8 (diff)
downloadports-a8a1754e23ef584b6c74bf5676cae6788b434647.tar.gz
ports-a8a1754e23ef584b6c74bf5676cae6788b434647.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/numpy/Makefile4
-rw-r--r--math/py-numeric/Makefile4
-rw-r--r--math/py-numeric17/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/math/numpy/Makefile b/math/numpy/Makefile
index 142d5fe10eb6..b1ccbf97bb8c 100644
--- a/math/numpy/Makefile
+++ b/math/numpy/Makefile
@@ -26,8 +26,8 @@ PLIST_SUB= PYVERSION="python${PYVERSION}"
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
-PYVERSION!= python -c 'import string, sys; \
- print string.split(sys.version)[0][:3]' \
+PYVERSION!= (python -c 'import string, sys; \
+ print string.split(sys.version)[0][:3]') 2> /dev/null \
|| echo "1.5"
.if ${PYVERSION} == "2.0"
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index 142d5fe10eb6..b1ccbf97bb8c 100644
--- a/math/py-numeric/Makefile
+++ b/math/py-numeric/Makefile
@@ -26,8 +26,8 @@ PLIST_SUB= PYVERSION="python${PYVERSION}"
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
-PYVERSION!= python -c 'import string, sys; \
- print string.split(sys.version)[0][:3]' \
+PYVERSION!= (python -c 'import string, sys; \
+ print string.split(sys.version)[0][:3]') 2> /dev/null \
|| echo "1.5"
.if ${PYVERSION} == "2.0"
diff --git a/math/py-numeric17/Makefile b/math/py-numeric17/Makefile
index 142d5fe10eb6..b1ccbf97bb8c 100644
--- a/math/py-numeric17/Makefile
+++ b/math/py-numeric17/Makefile
@@ -26,8 +26,8 @@ PLIST_SUB= PYVERSION="python${PYVERSION}"
DOCDIR= ${PREFIX}/share/doc/py-numeric
EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric
-PYVERSION!= python -c 'import string, sys; \
- print string.split(sys.version)[0][:3]' \
+PYVERSION!= (python -c 'import string, sys; \
+ print string.split(sys.version)[0][:3]') 2> /dev/null \
|| echo "1.5"
.if ${PYVERSION} == "2.0"