pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/python311



Module Name:    pkgsrc
Committed By:   js
Date:           Sat Jul 22 18:27:45 UTC 2023

Modified Files:
        pkgsrc/lang/python311: Makefile PLIST

Log Message:
Fix lang/python311 on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/python311/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/python311/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python311/Makefile
diff -u pkgsrc/lang/python311/Makefile:1.8 pkgsrc/lang/python311/Makefile:1.9
--- pkgsrc/lang/python311/Makefile:1.8  Thu Jun 29 01:32:28 2023
+++ pkgsrc/lang/python311/Makefile      Sat Jul 22 18:27:45 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2023/06/29 01:32:28 riastradh Exp $
+# $NetBSD: Makefile,v 1.9 2023/07/22 18:27:45 js Exp $
 
 .include "dist.mk"
 
 PKGNAME=       python311-${PY_DISTVERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang python
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -89,7 +89,10 @@ CFLAGS+=     -I${OSX_SDK_PATH:Q}/usr/include
 
 LDFLAGS.SunOS+=        -lresolv
 
-PLIST_VARS+=   nis
+PLIST_VARS+=   dbm nis
+.if ${OPSYS} != "Linux"
+PLIST.dbm=     yes
+.endif
 .for incdir in ${_OPSYS_INCLUDE_DIRS}
 .  if (exists(${incdir}/rpc/rpc.h) || exists(${incdir}/tirpc/rpc/rpc.h))
 HAVE_RPC_H=    yes

Index: pkgsrc/lang/python311/PLIST
diff -u pkgsrc/lang/python311/PLIST:1.4 pkgsrc/lang/python311/PLIST:1.5
--- pkgsrc/lang/python311/PLIST:1.4     Wed Jun  7 13:28:49 2023
+++ pkgsrc/lang/python311/PLIST Sat Jul 22 18:27:45 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2023/06/07 13:28:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/07/22 18:27:45 js Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -2060,7 +2060,7 @@ lib/python${PY_VER_SUFFIX}/lib-dynload/_
 lib/python${PY_VER_SUFFIX}/lib-dynload/_ctypes.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_ctypes_test.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_datetime.so
-lib/python${PY_VER_SUFFIX}/lib-dynload/_dbm.so
+${PLIST.dbm}lib/python${PY_VER_SUFFIX}/lib-dynload/_dbm.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_decimal.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_hashlib.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_heapq.so



Home | Main Index | Thread Index | Old Index