summaryrefslogtreecommitdiff
path: root/math/py-scipy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-scipy/Makefile')
-rw-r--r--math/py-scipy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/py-scipy/Makefile b/math/py-scipy/Makefile
index a3d15964f7c..cd20eaa7a17 100644
--- a/math/py-scipy/Makefile
+++ b/math/py-scipy/Makefile
@@ -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 @@ PLIST_VARS+= dsym
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