pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jun  7 11:23:03 UTC 2022

Modified Files:
        pkgsrc/math/py-numpy: Makefile

Log Message:
py-numpy: Remove invalid __STDC_VERSION__ on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 pkgsrc/math/py-numpy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.96 pkgsrc/math/py-numpy/Makefile:1.97
--- pkgsrc/math/py-numpy/Makefile:1.96  Wed May 25 19:22:20 2022
+++ pkgsrc/math/py-numpy/Makefile       Tue Jun  7 11:23:03 2022
@@ -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 @@ CPPFLAGS+=            ${BLAS_INCLUDES}
 # 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