summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-08-09 12:42:16 +0000
committerjperkin <jperkin@pkgsrc.org>2012-08-09 12:42:16 +0000
commitc7fed909690773a3adf6beee8699aea9548d0cb0 (patch)
tree6cdf427ba75b6e8047f995c3781ce2d58c6009f1 /math
parent27a663ce374530873aed181e5908e1b441925a95 (diff)
downloadpkgsrc-c7fed909690773a3adf6beee8699aea9548d0cb0.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')
-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()"