summaryrefslogtreecommitdiff
path: root/lang/python39
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2022-01-25 12:16:54 +0000
committerjperkin <jperkin@pkgsrc.org>2022-01-25 12:16:54 +0000
commit1416ac0cc76210d62f2957376f5aea76b9d78e53 (patch)
tree4c64340d8594ddefc260bb11074e7da7da47be33 /lang/python39
parent40e4a92796983a8a54d6ed92d7ef800ad2cff0d9 (diff)
downloadpkgsrc-1416ac0cc76210d62f2957376f5aea76b9d78e53.tar.gz
python3*: Switch to CFLAGS, CPPFLAGS is ignored.
Fixes build on SmartOS.
Diffstat (limited to 'lang/python39')
-rw-r--r--lang/python39/Makefile4
1 files changed, 2 insertions, 2 deletions
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