diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-10-24 14:22:49 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-10-24 14:22:49 +0000 |
commit | 5f6c2f71b866172114b2c253f4a15129523930b2 (patch) | |
tree | cffad02b57b1f34f308b6b9d9cfb7310b1139cbd /math/py-numpy/Makefile | |
parent | 98406b20590b145e8c08a00de24f962a73ad2945 (diff) | |
download | pkgsrc-5f6c2f71b866172114b2c253f4a15129523930b2.tar.gz |
Avoid picking up other fortran compilers when they are installed.
Fixes build when lang/g95 is present on the system.
Diffstat (limited to 'math/py-numpy/Makefile')
-rw-r--r-- | math/py-numpy/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 22e0d755e75..2282f50c296 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/09/10 19:03:26 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2009/10/24 14:22:49 ahoka Exp $ # DISTNAME= numpy-1.3.0 @@ -24,6 +24,13 @@ REPLACE_PYTHON+= numpy/distutils/system_info.py REPLACE_PYTHON+= numpy/ma/bench.py REPLACE_PYTHON+= numpy/distutils/conv_template.py +# XXX Avoid picking up other compilers when installed +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mgcc) +PYSETUPBUILDARGS+= --fcompiler=gnu +.endif + .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" .include "../../math/blas/buildlink3.mk" |