pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-gdbm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec 19 13:21:26 UTC 2021

Modified Files:
        pkgsrc/databases/py-gdbm: Makefile

Log Message:
py-gdbm: fix build with python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/databases/py-gdbm/Makefile

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

Modified files:

Index: pkgsrc/databases/py-gdbm/Makefile
diff -u pkgsrc/databases/py-gdbm/Makefile:1.41 pkgsrc/databases/py-gdbm/Makefile:1.42
--- pkgsrc/databases/py-gdbm/Makefile:1.41      Wed Jan  8 13:44:41 2020
+++ pkgsrc/databases/py-gdbm/Makefile   Sun Dec 19 13:21:26 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2020/01/08 13:44:41 joerg Exp $
+# $NetBSD: Makefile,v 1.42 2021/12/19 13:21:26 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-gdbm-${PY_DISTVERSION}
 PKGREVISION=   1
@@ -9,10 +9,10 @@ HOMEPAGE=     https://docs.python.org/3/libr
 COMMENT=       Python interface to gdbm - GNU database manager
 
 .include "../../lang/python/pyversion.mk"
-.if !empty(PYPKGPREFIX:Mpy3?)
-GDBM_MODNAME=  _gdbm
-.else
+.if !empty(PYPKGPREFIX:Mpy2?)
 GDBM_MODNAME=  gdbm
+.else
+GDBM_MODNAME=  _gdbm
 .endif
 
 PYDISTUTILSPKG=                yes



Home | Main Index | Thread Index | Old Index