pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Jan 25 12:16:54 UTC 2022

Modified Files:
        pkgsrc/lang/python310: Makefile
        pkgsrc/lang/python37: Makefile
        pkgsrc/lang/python38: Makefile
        pkgsrc/lang/python39: Makefile

Log Message:
python3*: Switch to CFLAGS, CPPFLAGS is ignored.

Fixes build on SmartOS.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python310/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/lang/python37/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/lang/python38/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/python39/Makefile

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

Modified files:

Index: pkgsrc/lang/python310/Makefile
diff -u pkgsrc/lang/python310/Makefile:1.9 pkgsrc/lang/python310/Makefile:1.10
--- pkgsrc/lang/python310/Makefile:1.9  Fri Jan 21 10:43:51 2022
+++ pkgsrc/lang/python310/Makefile      Tue Jan 25 12:16:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/01/21 10:43:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/25 12:16:54 jperkin Exp $
 
 .include "dist.mk"
 
@@ -44,7 +44,7 @@ PKG_CXX=              clang++
 .endif
 
 # Used in socketmodule.c to determine if a sethostname declaration is required
-CPPFLAGS.SunOS+=       -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
+CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 LIBS.SunOS+=           -lrt    # fdatasync()
 LIBS.SunOS+=           -luuid
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100

Index: pkgsrc/lang/python37/Makefile
diff -u pkgsrc/lang/python37/Makefile:1.31 pkgsrc/lang/python37/Makefile:1.32
--- pkgsrc/lang/python37/Makefile:1.31  Fri Jan 21 10:43:51 2022
+++ pkgsrc/lang/python37/Makefile       Tue Jan 25 12:16:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2022/01/21 10:43:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.32 2022/01/25 12:16:54 jperkin Exp $
 
 PKGREVISION= 3
 .include "dist.mk"
@@ -44,7 +44,7 @@ PKG_CXX=              clang++
 .endif
 
 # Used in socketmodule.c to determine if a sethostname declaration is required
-CPPFLAGS.SunOS+=       -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
+CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 # fdatasync()
 LIBS.SunOS+=           -lrt
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100

Index: pkgsrc/lang/python38/Makefile
diff -u pkgsrc/lang/python38/Makefile:1.25 pkgsrc/lang/python38/Makefile:1.26
--- pkgsrc/lang/python38/Makefile:1.25  Fri Jan 21 10:43:51 2022
+++ pkgsrc/lang/python38/Makefile       Tue Jan 25 12:16:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2022/01/21 10:43:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.26 2022/01/25 12:16:54 jperkin Exp $
 
 PKGREVISION= 3
 .include "dist.mk"
@@ -45,7 +45,7 @@ PKG_CXX=              clang++
 .endif
 
 # Used in socketmodule.c to determine if a sethostname declaration is required
-CPPFLAGS.SunOS+=       -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
+CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100
 SUBST_CLASSES+=                setup

Index: pkgsrc/lang/python39/Makefile
diff -u pkgsrc/lang/python39/Makefile:1.16 pkgsrc/lang/python39/Makefile:1.17
--- pkgsrc/lang/python39/Makefile:1.16  Fri Jan 21 10:43:52 2022
+++ pkgsrc/lang/python39/Makefile       Tue Jan 25 12:16:54 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/01/21 10:43:52 jperkin Exp $
+# $NetBSD: Makefile,v 1.17 2022/01/25 12:16:54 jperkin Exp $
 
 .include "dist.mk"
 
@@ -44,7 +44,7 @@ PKG_CXX=              clang++
 .endif
 
 # Used in socketmodule.c to determine if a sethostname declaration is required
-CPPFLAGS.SunOS+=       -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
+CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 LIBS.SunOS+=           -lrt    # fdatasync()
 LIBS.SunOS+=           -luuid
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100



Home | Main Index | Thread Index | Old Index