pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-numpy Pass through the correct ABI flags as th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/831c6cb35800
branches:  trunk
changeset: 607338:831c6cb35800
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Aug 09 12:42:16 2012 +0000

description:
Pass through the correct ABI flags as this package calls compilers directly.

Fixes build on Solaris where ABI=32 with 64-bit compilers.

diffstat:

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

diffs (20 lines):

diff -r dc18e4e54126 -r 831c6cb35800 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Thu Aug 09 12:32:41 2012 +0000
+++ b/math/py-numpy/Makefile    Thu Aug 09 12:42:16 2012 +0000
@@ -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 @@
 # 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()"



Home | Main Index | Thread Index | Old Index