pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-scipy py-scipy: GFORTRAN_VERSION ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/106cafaf7673
branches:  trunk
changeset: 307739:106cafaf7673
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sat May 12 21:21:46 2018 +0000
description:
py-scipy: GFORTRAN_VERSION might not be defined.

Fixes bulk builds.

diffstat:

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

diffs (18 lines):

diff -r 667978efd762 -r 106cafaf7673 math/py-scipy/Makefile
--- a/math/py-scipy/Makefile    Sat May 12 14:04:19 2018 +0000
+++ b/math/py-scipy/Makefile    Sat May 12 21:21:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/05/11 14:18:47 minskim Exp $
+# $NetBSD: Makefile,v 1.32 2018/05/12 21:21:46 jperkin Exp $
 
 DISTNAME=      scipy-1.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -22,7 +22,7 @@
 PYSETUPBUILDARGS+=     --fcompiler=g95
 .elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
 PYSETUPBUILDARGS+=     --fcompiler=gnu95
-.  if ${GFORTRAN_VERSION} == "7"
+.  if defined(GFORTRAN_VERSION) && ${GFORTRAN_VERSION} == "7"
 PLIST.dsym=    yes
 .  endif
 LDFLAGS.Darwin+=       -undefined dynamic_lookup



Home | Main Index | Thread Index | Old Index