pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang python3*: Switch to CFLAGS, CPPFLAGS is ignored.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b996ef7fc99
branches: trunk
changeset: 372474:6b996ef7fc99
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Jan 25 12:16:54 2022 +0000
description:
python3*: Switch to CFLAGS, CPPFLAGS is ignored.
Fixes build on SmartOS.
diffstat:
lang/python310/Makefile | 4 ++--
lang/python37/Makefile | 4 ++--
lang/python38/Makefile | 4 ++--
lang/python39/Makefile | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 312d17cf4a7f -r 6b996ef7fc99 lang/python310/Makefile
--- a/lang/python310/Makefile Tue Jan 25 11:53:46 2022 +0000
+++ b/lang/python310/Makefile Tue Jan 25 12:16:54 2022 +0000
@@ -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 @@
.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 -r 312d17cf4a7f -r 6b996ef7fc99 lang/python37/Makefile
--- a/lang/python37/Makefile Tue Jan 25 11:53:46 2022 +0000
+++ b/lang/python37/Makefile Tue Jan 25 12:16:54 2022 +0000
@@ -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 @@
.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 -r 312d17cf4a7f -r 6b996ef7fc99 lang/python38/Makefile
--- a/lang/python38/Makefile Tue Jan 25 11:53:46 2022 +0000
+++ b/lang/python38/Makefile Tue Jan 25 12:16:54 2022 +0000
@@ -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 @@
.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 -r 312d17cf4a7f -r 6b996ef7fc99 lang/python39/Makefile
--- a/lang/python39/Makefile Tue Jan 25 11:53:46 2022 +0000
+++ b/lang/python39/Makefile Tue Jan 25 12:16:54 2022 +0000
@@ -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 @@
.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