summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/python310/Makefile4
-rw-r--r--lang/python37/Makefile4
-rw-r--r--lang/python38/Makefile4
-rw-r--r--lang/python39/Makefile4
4 files changed, 8 insertions, 8 deletions
diff --git a/lang/python310/Makefile b/lang/python310/Makefile
index fb30a5ced74..93227b87e36 100644
--- a/lang/python310/Makefile
+++ b/lang/python310/Makefile
@@ -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
diff --git a/lang/python37/Makefile b/lang/python37/Makefile
index d2a9f83494c..d08abf68a18 100644
--- a/lang/python37/Makefile
+++ b/lang/python37/Makefile
@@ -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
diff --git a/lang/python38/Makefile b/lang/python38/Makefile
index bfbaa0e345f..5383d466037 100644
--- a/lang/python38/Makefile
+++ b/lang/python38/Makefile
@@ -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
diff --git a/lang/python39/Makefile b/lang/python39/Makefile
index 5868fa8818b..0284701238c 100644
--- a/lang/python39/Makefile
+++ b/lang/python39/Makefile
@@ -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