Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: Re-add support for g95



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23cc04721b0b
branches:  trunk
changeset: 433630:23cc04721b0b
user:      leot <leot%pkgsrc.org@localhost>
date:      Fri Jun 05 20:37:16 2020 +0000

description:
py-numpy: Re-add support for g95

diffstat:

 math/py-numpy/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 384b0c72ba2b -r 23cc04721b0b math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Fri Jun 05 20:23:03 2020 +0000
+++ b/math/py-numpy/Makefile    Fri Jun 05 20:37:16 2020 +0000
@@ -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 @@
 # 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



Home | Main Index | Thread Index | Old Index