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 | a46275fa9311c2efcd015f75a04296a07faac4af (patch) | |
tree | cffad02b57b1f34f308b6b9d9cfb7310b1139cbd /math/py-numpy | |
parent | 8db52d2f5a123f6e19bb4990c6a601a0ae2cd893 (diff) | |
download | pkgsrc-a46275fa9311c2efcd015f75a04296a07faac4af.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')
-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" |