aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/numpy/files/patch-Makefile12
-rw-r--r--math/py-numeric/files/patch-Makefile12
-rw-r--r--math/py-numeric17/files/patch-Makefile12
3 files changed, 18 insertions, 18 deletions
diff --git a/math/numpy/files/patch-Makefile b/math/numpy/files/patch-Makefile
index 6512ba0c12ad..b59f96b8a968 100644
--- a/math/numpy/files/patch-Makefile
+++ b/math/numpy/files/patch-Makefile
@@ -2,24 +2,24 @@
+++ Makefile 2000/08/31 17:35:38
@@ -5,8 +5,20 @@
@echo "Currently that is:"
- @which python
+ @which ${PYTHON_CMD}
-all: MA RNG FFT
+all:: main MA RNG FFT
+
+main:
-+ python setup.py build
++ ${PYTHON_CMD} setup.py build
MA RNG FFT:
-- (cd Packages/$@; python setup.py install)
-+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
+- (cd Packages/$@; ${PYTHON_CMD} setup.py install)
++ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; ${PYTHON_CMD} setup.py build)
+
+install:: main_install MA_install RNG_install FFT_install
+
+main_install:
-+ python setup.py install
++ ${PYTHON_CMD} setup.py install
+
+MA_install RNG_install FFT_install:
-+ (cd Packages/${@:S/_install//}; python setup.py install)
++ (cd Packages/${@:S/_install//}; ${PYTHON_CMD} setup.py install)
+
diff --git a/math/py-numeric/files/patch-Makefile b/math/py-numeric/files/patch-Makefile
index 6512ba0c12ad..b59f96b8a968 100644
--- a/math/py-numeric/files/patch-Makefile
+++ b/math/py-numeric/files/patch-Makefile
@@ -2,24 +2,24 @@
+++ Makefile 2000/08/31 17:35:38
@@ -5,8 +5,20 @@
@echo "Currently that is:"
- @which python
+ @which ${PYTHON_CMD}
-all: MA RNG FFT
+all:: main MA RNG FFT
+
+main:
-+ python setup.py build
++ ${PYTHON_CMD} setup.py build
MA RNG FFT:
-- (cd Packages/$@; python setup.py install)
-+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
+- (cd Packages/$@; ${PYTHON_CMD} setup.py install)
++ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; ${PYTHON_CMD} setup.py build)
+
+install:: main_install MA_install RNG_install FFT_install
+
+main_install:
-+ python setup.py install
++ ${PYTHON_CMD} setup.py install
+
+MA_install RNG_install FFT_install:
-+ (cd Packages/${@:S/_install//}; python setup.py install)
++ (cd Packages/${@:S/_install//}; ${PYTHON_CMD} setup.py install)
+
diff --git a/math/py-numeric17/files/patch-Makefile b/math/py-numeric17/files/patch-Makefile
index 6512ba0c12ad..b59f96b8a968 100644
--- a/math/py-numeric17/files/patch-Makefile
+++ b/math/py-numeric17/files/patch-Makefile
@@ -2,24 +2,24 @@
+++ Makefile 2000/08/31 17:35:38
@@ -5,8 +5,20 @@
@echo "Currently that is:"
- @which python
+ @which ${PYTHON_CMD}
-all: MA RNG FFT
+all:: main MA RNG FFT
+
+main:
-+ python setup.py build
++ ${PYTHON_CMD} setup.py build
MA RNG FFT:
-- (cd Packages/$@; python setup.py install)
-+ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; python setup.py build)
+- (cd Packages/$@; ${PYTHON_CMD} setup.py install)
++ (cd Packages/$@; mkdir -p Include ; ln -sf ../../../Include Include/Numeric; ${PYTHON_CMD} setup.py build)
+
+install:: main_install MA_install RNG_install FFT_install
+
+main_install:
-+ python setup.py install
++ ${PYTHON_CMD} setup.py install
+
+MA_install RNG_install FFT_install:
-+ (cd Packages/${@:S/_install//}; python setup.py install)
++ (cd Packages/${@:S/_install//}; ${PYTHON_CMD} setup.py install)
+