diff options
author | markd <markd@pkgsrc.org> | 2009-12-04 21:23:22 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2009-12-04 21:23:22 +0000 |
commit | 8bc175d6f46021f852cd7d02626749c4ea850ed7 (patch) | |
tree | 225ec09aad800b0ddfcb6dc7525444d374e4eb32 /math/py-numpy | |
parent | 16b85a75a74ba0cee85845d09432cda997f02feb (diff) | |
download | pkgsrc-8bc175d6f46021f852cd7d02626749c4ea850ed7.tar.gz |
Fix so works again with non-default values of PKGSRC_FORTRAN.
Diffstat (limited to 'math/py-numpy')
-rw-r--r-- | math/py-numpy/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 8472a057ac4..1354b7d0dc0 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2009/12/03 13:06:55 asau Exp $ +# $NetBSD: Makefile,v 1.8 2009/12/04 21:23:22 markd Exp $ # DISTNAME= numpy-1.3.0 PKGNAME= ${PYPKGPREFIX}-numpy-1.3.0 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/} @@ -27,7 +27,11 @@ REPLACE_PYTHON+= numpy/distutils/conv_template.py # XXX Avoid picking up other compilers when installed .include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mgcc) +.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95) +PYSETUPBUILDARGS+= --fcompiler=g95 +.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran) +PYSETUPBUILDARGS+= --fcompiler=gnu95 +.elif !empty(PKGSRC_COMPILER:Mgcc) PYSETUPBUILDARGS+= --fcompiler=gnu .endif |