From 9f283d6de5252d9b3226a7434be9e1a6c3d015f1 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 25 Apr 2012 16:36:39 +0000 Subject: Always add -shared to LDFLAGS to work around some stupidity. Should fix pkg/44107, tested on SunOS and NetBSD. More can be found information here: http://projects.scipy.org/numpy/ticket/1101 --- math/py-numpy/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'math') diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 0a30f4eb6ed..506464333c3 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2012/04/17 17:24:41 drochner Exp $ +# $NetBSD: Makefile,v 1.18 2012/04/25 16:36:39 hans Exp $ # DISTNAME= numpy-1.6.1 @@ -40,6 +40,10 @@ PYSETUPBUILDARGS+= --fcompiler=gnu95 PYSETUPBUILDARGS+= --fcompiler=gnu .endif +# According to http://projects.scipy.org/numpy/ticket/1101, +# LDFLAGS should either not be set or include -shared. +LDFLAGS+= -shared + # needs devel/py-nose #do-test: # ${PYTHONBIN} -c "import numpy; numpy.test()" -- cgit v1.2.3