pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang According to the noted issue, the compiler to avo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8eda10e525bf
branches:  trunk
changeset: 372642:8eda10e525bf
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Jan 27 21:33:41 2022 +0000

description:
According to the noted issue, the compiler to avoid is llvm-gcc-4.2,
which means 11.x and 12.x according to mk/platform/Darwin.mk. On 10.x
(i386 Snow Leopard Server, at least), no problem with the system gcc.
Adjust the scope of the workaround to match.

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 0777706c6453 -r 8eda10e525bf lang/python310/Makefile
--- a/lang/python310/Makefile   Thu Jan 27 20:59:27 2022 +0000
+++ b/lang/python310/Makefile   Thu Jan 27 21:33:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/01/25 12:16:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/27 21:33:41 schmonz Exp $
 
 .include "dist.mk"
 
@@ -37,7 +37,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 # http://bugs.python.org/issue13241
-.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
+.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
 PKGSRC_COMPILER=       clang
 PKG_CC=                        clang
 PKG_CXX=               clang++
diff -r 0777706c6453 -r 8eda10e525bf lang/python37/Makefile
--- a/lang/python37/Makefile    Thu Jan 27 20:59:27 2022 +0000
+++ b/lang/python37/Makefile    Thu Jan 27 21:33:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2022/01/25 12:16:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.33 2022/01/27 21:33:42 schmonz Exp $
 
 PKGREVISION= 3
 .include "dist.mk"
@@ -37,7 +37,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 # http://bugs.python.org/issue13241
-.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
+.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
 PKGSRC_COMPILER?=      clang
 PKG_CC=                        clang
 PKG_CXX=               clang++
diff -r 0777706c6453 -r 8eda10e525bf lang/python38/Makefile
--- a/lang/python38/Makefile    Thu Jan 27 20:59:27 2022 +0000
+++ b/lang/python38/Makefile    Thu Jan 27 21:33:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2022/01/25 12:16:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.27 2022/01/27 21:33:42 schmonz Exp $
 
 PKGREVISION= 3
 .include "dist.mk"
@@ -38,7 +38,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 # http://bugs.python.org/issue13241
-.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
+.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
 PKGSRC_COMPILER=       clang
 PKG_CC=                        clang
 PKG_CXX=               clang++
diff -r 0777706c6453 -r 8eda10e525bf lang/python39/Makefile
--- a/lang/python39/Makefile    Thu Jan 27 20:59:27 2022 +0000
+++ b/lang/python39/Makefile    Thu Jan 27 21:33:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2022/01/25 12:16:54 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2022/01/27 21:33:42 schmonz Exp $
 
 .include "dist.mk"
 
@@ -37,7 +37,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 # http://bugs.python.org/issue13241
-.if !empty(MACHINE_PLATFORM:MDarwin-10.*)
+.if !empty(MACHINE_PLATFORM:MDarwin-1[12].*)
 PKGSRC_COMPILER=       clang
 PKG_CC=                        clang
 PKG_CXX=               clang++



Home | Main Index | Thread Index | Old Index