pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-numpy Always add -shared to LDFLAGS to work ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9abcdf1fccb
branches:  trunk
changeset: 602990:e9abcdf1fccb
user:      hans <hans%pkgsrc.org@localhost>
date:      Wed Apr 25 16:36:39 2012 +0000

description:
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:

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

diffs (20 lines):

diff -r c963720e74d3 -r e9abcdf1fccb math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Wed Apr 25 16:28:18 2012 +0000
+++ b/math/py-numpy/Makefile    Wed Apr 25 16:36:39 2012 +0000
@@ -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=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()"



Home | Main Index | Thread Index | Old Index