pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   leot
Date:           Fri Jun  5 20:37:16 UTC 2020

Modified Files:
        pkgsrc/math/py-numpy: Makefile

Log Message:
py-numpy: Re-add support for g95


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/math/py-numpy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.65 pkgsrc/math/py-numpy/Makefile:1.66
--- pkgsrc/math/py-numpy/Makefile:1.65  Mon May  4 06:18:55 2020
+++ pkgsrc/math/py-numpy/Makefile       Fri Jun  5 20:37:16 2020
@@ -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
 # 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