pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: Remove invalid __STDC_VERSION_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4c905d1f99c3
branches:  trunk
changeset: 380465:4c905d1f99c3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Jun 07 11:23:03 2022 +0000

description:
py-numpy: Remove invalid __STDC_VERSION__ on SunOS.

diffstat:

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

diffs (19 lines):

diff -r b11211ab6506 -r 4c905d1f99c3 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile    Tue Jun 07 10:40:36 2022 +0000
+++ b/math/py-numpy/Makefile    Tue Jun 07 11:23:03 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2022/05/25 19:22:20 tnn Exp $
+# $NetBSD: Makefile,v 1.97 2022/06/07 11:23:03 jperkin Exp $
 
 DISTNAME=      numpy-1.22.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -53,6 +53,9 @@
 # Work around it on DragonFly by specifying the classic gnu linker
 MAKE_ENV.DragonFly+=   LDVER=ld.bfd
 
+# Remove invalid __STDC_VERSION__ setting
+BUILDLINK_TRANSFORM.SunOS+=    rm:-D__STDC_VERSION__=0
+
 pre-install:
        ${RM} -f ${WRKSRC}/numpy/core/include/numpy/npy_common.h.orig
 



Home | Main Index | Thread Index | Old Index