diff options
author | dbj <dbj@pkgsrc.org> | 2015-01-27 06:36:27 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2015-01-27 06:36:27 +0000 |
commit | 3162d29bcf9ee816f4a0ba375c2de256bab3f525 (patch) | |
tree | 4b4914e42664d4ea86344675803cc087cc9586e1 /math/py-scipy | |
parent | bddb9c871aef76a534e184141068665810bcffa3 (diff) | |
download | pkgsrc-3162d29bcf9ee816f4a0ba375c2de256bab3f525.tar.gz |
specifiy -undefined dynamic-lookup with PKGSRC_FORTRAN=gfortran on Darwin
Diffstat (limited to 'math/py-scipy')
-rw-r--r-- | math/py-scipy/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/math/py-scipy/Makefile b/math/py-scipy/Makefile index 22f31c5bdd8..3746d5461b5 100644 --- a/math/py-scipy/Makefile +++ b/math/py-scipy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2014/02/12 12:53:56 obache Exp $ +# $NetBSD: Makefile,v 1.16 2015/01/27 06:36:27 dbj Exp $ DISTNAME= scipy-0.12.1 PKGNAME= ${PYPKGPREFIX}-scipy-0.12.1 @@ -22,6 +22,9 @@ MAKE_ENV+= ATLAS=None PYSETUPBUILDARGS+= --fcompiler=g95 .elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran) PYSETUPBUILDARGS+= --fcompiler=gnu95 +.if ${OPSYS} == "Darwin" +LDFLAGS+= -undefined dynamic_lookup +.endif .else BROKEN= Requires fortran 95 .endif |