diff options
author | hans <hans@pkgsrc.org> | 2012-04-25 16:36:39 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-04-25 16:36:39 +0000 |
commit | c0ec8158f221f1a9f19fea8a468df9665de98a15 (patch) | |
tree | 96db2fc0f31adafb10b8fadcbe23cddc3a57b4d5 /math | |
parent | 279c9f648b83640016114e1891da951eb1b74cc3 (diff) | |
download | pkgsrc-c0ec8158f221f1a9f19fea8a468df9665de98a15.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/Makefile | 6 |
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()" |