pkgsrc-WIP-changes archive

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

py-bsddb: fix typo in Python version comparison



Module Name:	pkgsrc-wip
Committed By:	Roland Illig <roland.illig%gmx.de@localhost>
Pushed By:	rillig
Date:		Wed Mar 29 12:27:22 2023 +0200
Changeset:	2ba96e8b77396c6755fba45d086d2a3323ddd44d

Modified Files:
	py-bsddb/Makefile

Log Message:
py-bsddb: fix typo in Python version comparison

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ba96e8b77396c6755fba45d086d2a3323ddd44d

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

diffstat:
 py-bsddb/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diffs:
diff --git a/py-bsddb/Makefile b/py-bsddb/Makefile
index 415bcab9c2..dcecd4826b 100644
--- a/py-bsddb/Makefile
+++ b/py-bsddb/Makefile
@@ -15,7 +15,7 @@ PYBINMODULE=	yes
 EXTRACT_ELEMENTS=	${PYSUBDIR}/Modules/_bsddb.c
 
 .include "../../lang/python/pyversion.mk"
-.if ${PYTHON_VERSION:M2}
+.if ${PYTHON_VERSION} < 300
 EXTRACT_ELEMENTS+=	${PYSUBDIR}/Modules/bsddb.h
 .endif
 
@@ -33,4 +33,4 @@ do-patch:
 .include "../../databases/db4/buildlink3.mk"
 .include "../../lang/python/extension.mk"
 .include "../../lang/python/srcdist.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "../../mk/bsd.pkg.mk"
\ No newline at end of file


Home | Main Index | Thread Index | Old Index