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:   cheusov
Date:           Tue Apr 30 20:51:14 UTC 2024

Modified Files:
        pkgsrc/lang/python311: Makefile PLIST

Log Message:
Build _dbm.so module on Linux just like on other UNIX-es


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/python311/Makefile
cvs rdiff -u -r1.14 -r1.15 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.27 pkgsrc/lang/python311/Makefile:1.28
--- pkgsrc/lang/python311/Makefile:1.27 Tue Apr 30 17:13:55 2024
+++ pkgsrc/lang/python311/Makefile      Tue Apr 30 20:51:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2024/04/30 17:13:55 cheusov Exp $
+# $NetBSD: Makefile,v 1.28 2024/04/30 20:51:14 cheusov Exp $
 
 .include "dist.mk"
 
@@ -111,10 +111,7 @@ CFLAGS+=   -I${OSX_SDK_PATH:Q}/usr/include
 
 LDFLAGS.SunOS+=        -lresolv
 
-PLIST_VARS+=   dbm nis
-.if ${OPSYS} != "Linux"
-PLIST.dbm=     yes
-.endif
+PLIST_VARS+=   nis
 .for incdir in ${_OPSYS_INCLUDE_DIRS}
 .  if exists(${incdir}/rpc/rpc.h)
 HAVE_RPC_H=    yes
@@ -236,6 +233,9 @@ setuptools-preinstall:
        ${INSTALL_DATA} ${.CURDIR}/../../devel/py-setuptools/files/_distutils_system_mod \
                ${DESTDIR}${PREFIX}/lib/python${PY_VER_SUFFIX}/site-packages/_distutils_system_mod.py
 
+.if ${OPSYS} == "Linux"
+.include "../../databases/gdbm_compat/buildlink3.mk"
+.endif
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../archivers/xz/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"

Index: pkgsrc/lang/python311/PLIST
diff -u pkgsrc/lang/python311/PLIST:1.14 pkgsrc/lang/python311/PLIST:1.15
--- pkgsrc/lang/python311/PLIST:1.14    Tue Apr 30 19:43:48 2024
+++ pkgsrc/lang/python311/PLIST Tue Apr 30 20:51:14 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2024/04/30 19:43:48 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.15 2024/04/30 20:51:14 cheusov Exp $
 bin/2to3-${PY_VER_SUFFIX}
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -2062,7 +2062,7 @@ lib/python${PY_VER_SUFFIX}/lib-dynload/_
 lib/python${PY_VER_SUFFIX}/lib-dynload/_curses.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_curses_panel.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_datetime.so
-${PLIST.dbm}lib/python${PY_VER_SUFFIX}/lib-dynload/_dbm.so
+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/_elementtree.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/_hashlib.so



Home | Main Index | Thread Index | Old Index