pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-numpy Wrap DragonFly specific workaround in .i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1727e8a766d6
branches:  trunk
changeset: 355800:1727e8a766d6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 12 14:23:47 2016 +0000

description:
Wrap DragonFly specific workaround in .if ${OPSYS} == "DragonFly"

diffstat:

 math/py-numpy/Makefile |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r b9bb6cd3fd6f -r 1727e8a766d6 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Mon Dec 12 14:22:01 2016 +0000
+++ b/math/py-numpy/Makefile    Mon Dec 12 14:23:47 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2016/12/04 22:51:55 marino Exp $
+# $NetBSD: Makefile,v 1.35 2016/12/12 14:23:47 wiz Exp $
 
 DISTNAME=      numpy-1.11.2
 GITHUB_PROJECT=        numpy
@@ -17,12 +17,6 @@
 
 REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
 
-# numpy fails using the gold linker with:
-# fatal error: --sysroot=: must take a non-empty argument
-# Work around it on DragonFly by specifying the classic gnu linker
-
-MAKE_ENV+=     LDVER=ld.bfd
-
 # XXX Avoid picking up other compilers when installed
 .include "../../mk/compiler.mk"
 
@@ -40,6 +34,13 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+.if ${OPSYS} == "DragonFly"
+# numpy fails using the gold linker with:
+# fatal error: --sysroot=: must take a non-empty argument
+# Work around it on DragonFly by specifying the classic gnu linker
+MAKE_ENV+=     LDVER=ld.bfd
+.endif
+
 # TEST_DEPENDS
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
 



Home | Main Index | Thread Index | Old Index