summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-06-05 20:37:16 +0000
committerleot <leot@pkgsrc.org>2020-06-05 20:37:16 +0000
commit182dcd7566eaf27ed9ad8af7e2093ce6a5d8b11e (patch)
tree6fcc445dd3100578500a9c4a53c99228c2e8ec22 /math
parente56be5af73423f2cc90319725d89b2423a13fc8e (diff)
downloadpkgsrc-182dcd7566eaf27ed9ad8af7e2093ce6a5d8b11e.tar.gz
py-numpy: Re-add support for g95
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index fa199374836..834fe6182a4 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2020/05/04 06:18:55 adam Exp $
+# $NetBSD: Makefile,v 1.66 2020/06/05 20:37:16 leot Exp $
DISTNAME= numpy-1.18.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -24,7 +24,9 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 # since 1.17
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
-.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
+.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95"
+PYSETUPBUILDARGS+= --fcompiler=g95
+.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
PYSETUPBUILDARGS+= --fcompiler=gnu95
.elif !empty(PKGSRC_COMPILER:Mgcc)
PYSETUPBUILDARGS+= --fcompiler=gnu