summaryrefslogtreecommitdiff
path: root/math/py-numpy
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-08-09 12:42:16 +0000
committerjperkin <jperkin>2012-08-09 12:42:16 +0000
commit9cfe2fa8a23c52aad1608d1b4055bfc659df4779 (patch)
tree6cdf427ba75b6e8047f995c3781ce2d58c6009f1 /math/py-numpy
parenta354a829dff3195dc255712d1192013d5cd254ce (diff)
downloadpkgsrc-9cfe2fa8a23c52aad1608d1b4055bfc659df4779.tar.gz
Pass through the correct ABI flags as this package calls compilers directly.
Fixes build on Solaris where ABI=32 with 64-bit compilers.
Diffstat (limited to 'math/py-numpy')
-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 506464333c3..c10d541cf40 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/04/25 16:36:39 hans Exp $
+# $NetBSD: Makefile,v 1.19 2012/08/09 12:42:16 jperkin Exp $
#
DISTNAME= numpy-1.6.1
@@ -44,6 +44,10 @@ PYSETUPBUILDARGS+= --fcompiler=gnu
# LDFLAGS should either not be set or include -shared.
LDFLAGS+= -shared
+# This package bypasses the wrappers and calls the compilers directly when
+# linking, so ensure that we pass through requisite options.
+LDFLAGS+= ${_COMPILER_ABI_FLAG.${ABI}}
+
# needs devel/py-nose
#do-test:
# ${PYTHONBIN} -c "import numpy; numpy.test()"