Mon Apr 1 23:38:27 2024 UTC (56d)
lang/python312: Add DragonFly support


(charlotte)
diff -r1.14 -r1.15 pkgsrc/lang/python312/Makefile
diff -r0 -r1.1 pkgsrc/lang/python312/PLIST.DragonFly

cvs diff -r1.14 -r1.15 pkgsrc/lang/python312/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/python312/Makefile 2024/02/07 08:06:57 1.14
+++ pkgsrc/lang/python312/Makefile 2024/04/01 23:38:27 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.14 2024/02/07 08:06:57 adam Exp $ 1# $NetBSD: Makefile,v 1.15 2024/04/01 23:38:27 charlotte Exp $
2 2
3.include "dist.mk" 3.include "dist.mk"
4 4
5PKGNAME= python312-${PY_DISTVERSION} 5PKGNAME= python312-${PY_DISTVERSION}
6CATEGORIES= lang python 6CATEGORIES= lang python
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.python.org/ 9HOMEPAGE= https://www.python.org/
10COMMENT= Interpreted, interactive, object-oriented programming language 10COMMENT= Interpreted, interactive, object-oriented programming language
11LICENSE= python-software-foundation 11LICENSE= python-software-foundation
12 12
13CONFLICTS+= python-[0-9]* 13CONFLICTS+= python-[0-9]*
14CONFLICTS+= py312-cElementTree-[0-9]* 14CONFLICTS+= py312-cElementTree-[0-9]*
@@ -80,26 +80,27 @@ CONFIGURE_ARGS.NetBSD+= ac_cv_file__dev_ @@ -80,26 +80,27 @@ CONFIGURE_ARGS.NetBSD+= ac_cv_file__dev_
80.endif 80.endif
81 81
82# http://bugs.python.org/issue13241 82# http://bugs.python.org/issue13241
83.if ${MACHINE_PLATFORM:MDarwin-1[12].*} 83.if ${MACHINE_PLATFORM:MDarwin-1[12].*}
84PKGSRC_COMPILER= clang 84PKGSRC_COMPILER= clang
85PKG_CC= clang 85PKG_CC= clang
86PKG_CXX= clang++ 86PKG_CXX= clang++
87.endif 87.endif
88 88
89# Used in socketmodule.c to determine if a sethostname declaration is required 89# Used in socketmodule.c to determine if a sethostname declaration is required
90CFLAGS.SunOS+= -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION} 90CFLAGS.SunOS+= -DPKGSRC_OPSYS_VERSION=${OPSYS_VERSION}
91LIBS.SunOS+= -lrt # fdatasync() 91LIBS.SunOS+= -lrt # fdatasync()
92 92
 93LIBS.DragonFly+= -lcrypt
93LIBS.NetBSD+= -lcrypt 94LIBS.NetBSD+= -lcrypt
94 95
95PY_VER_SUFFIX= 3.12 96PY_VER_SUFFIX= 3.12
96 97
97.if ${OPSYS} == "Darwin" 98.if ${OPSYS} == "Darwin"
98USE_TOOLS+= gmake 99USE_TOOLS+= gmake
99.endif 100.endif
100 101
101.include "platname.mk" 102.include "platname.mk"
102PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} 103PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
103 104
104# For Xcode 5 and up, we need to search the SDK path for headers, otherwise 105# For Xcode 5 and up, we need to search the SDK path for headers, otherwise
105# certain modules will not be built. 106# certain modules will not be built.

File Added: pkgsrc/lang/python312/PLIST.DragonFly
@comment $NetBSD: PLIST.DragonFly,v 1.1 2024/04/01 23:38:27 charlotte Exp $
lib/python${PY_VER_SUFFIX}/lib-dynload/ossaudiodev.so