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:           Thu Nov 23 12:43:35 UTC 2023

Modified Files:
        pkgsrc/lang/python310: Makefile
        pkgsrc/lang/python311: Makefile
        pkgsrc/lang/python312: Makefile

Log Message:
python*: Remove -luuid hack on SunOS.

This ends up leaking into the shipped python-config, which wouldn't normally
be a problem, but broken build systems such as waf end up linking against
libraries that are not buildlinked, resulting in missing libuuid references.

If this is still required for builtin libuuid support then that will need to
be done in a different way that doesn't end up in the exported libraries.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/python310/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/python311/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/python312/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.28 pkgsrc/lang/python310/Makefile:1.29
--- pkgsrc/lang/python310/Makefile:1.28 Fri Nov 10 16:55:31 2023
+++ pkgsrc/lang/python310/Makefile      Thu Nov 23 12:43:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2023/11/10 16:55:31 nia Exp $
+# $NetBSD: Makefile,v 1.29 2023/11/23 12:43:35 jperkin Exp $
 
 .include "dist.mk"
 
@@ -85,7 +85,6 @@ PKG_CXX=              clang++
 # Used in socketmodule.c to determine if a sethostname declaration is required
 CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 LIBS.SunOS+=           -lrt    # fdatasync()
-LIBS.SunOS+=           -luuid
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100
 SUBST_CLASSES+=                setup
 SUBST_MESSAGE.setup=   Replacing crypt with crypt_i

Index: pkgsrc/lang/python311/Makefile
diff -u pkgsrc/lang/python311/Makefile:1.20 pkgsrc/lang/python311/Makefile:1.21
--- pkgsrc/lang/python311/Makefile:1.20 Fri Nov 10 16:55:32 2023
+++ pkgsrc/lang/python311/Makefile      Thu Nov 23 12:43:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2023/11/10 16:55:32 nia Exp $
+# $NetBSD: Makefile,v 1.21 2023/11/23 12:43:35 jperkin Exp $
 
 .include "dist.mk"
 
@@ -82,7 +82,6 @@ PKG_CXX=              clang++
 # Used in socketmodule.c to determine if a sethostname declaration is required
 CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 LIBS.SunOS+=           -lrt    # fdatasync()
-LIBS.SunOS+=           -luuid
 .if ${OPSYS} == "SunOS" && ${OPSYS_VERSION} < 051100
 SUBST_CLASSES+=                setup
 SUBST_MESSAGE.setup=   Replacing crypt with crypt_i

Index: pkgsrc/lang/python312/Makefile
diff -u pkgsrc/lang/python312/Makefile:1.10 pkgsrc/lang/python312/Makefile:1.11
--- pkgsrc/lang/python312/Makefile:1.10 Fri Nov 10 16:55:32 2023
+++ pkgsrc/lang/python312/Makefile      Thu Nov 23 12:43:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2023/11/10 16:55:32 nia Exp $
+# $NetBSD: Makefile,v 1.11 2023/11/23 12:43:35 jperkin Exp $
 
 .include "dist.mk"
 
@@ -91,7 +91,6 @@ PKG_CXX=              clang++
 # Used in socketmodule.c to determine if a sethostname declaration is required
 CFLAGS.SunOS+=         -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
 LIBS.SunOS+=           -lrt    # fdatasync()
-LIBS.SunOS+=           -luuid
 
 LIBS.NetBSD+=          -lcrypt
 



Home | Main Index | Thread Index | Old Index