pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-scipy specifiy -undefined dynamic-lookup with ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e92ea5bcebe1
branches:  trunk
changeset: 645337:e92ea5bcebe1
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Tue Jan 27 06:36:27 2015 +0000

description:
specifiy -undefined dynamic-lookup with PKGSRC_FORTRAN=gfortran on Darwin

diffstat:

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

diffs (19 lines):

diff -r 9405299f8e7f -r e92ea5bcebe1 math/py-scipy/Makefile
--- a/math/py-scipy/Makefile    Tue Jan 27 06:33:46 2015 +0000
+++ b/math/py-scipy/Makefile    Tue Jan 27 06:36:27 2015 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index