summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhans <hans>2012-04-25 16:36:39 +0000
committerhans <hans>2012-04-25 16:36:39 +0000
commit13b1c4694cc6dbf322982040270346f5ac153c33 (patch)
tree96db2fc0f31adafb10b8fadcbe23cddc3a57b4d5 /math
parente36f3c7c44e603877cca4c89c8934a6bd8891820 (diff)
downloadpkgsrc-13b1c4694cc6dbf322982040270346f5ac153c33.tar.gz
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
Diffstat (limited to 'math')
-rw-r--r--math/py-numpy/Makefile6
1 files changed, 5 insertions, 1 deletions
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()"