diff options
author | martin <martin@pkgsrc.org> | 2022-09-05 07:38:41 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2022-09-05 07:38:41 +0000 |
commit | ee681c76c485b28cfe93d80986976eb08acc677d (patch) | |
tree | ae4eb2d57983e212df3af6463abaaab3e8c71a40 /textproc | |
parent | ce00b94e6a6b99f2a8b2317c71ddc39a7f8ea077 (diff) | |
download | pkgsrc-ee681c76c485b28cfe93d80986976eb08acc677d.tar.gz |
Revert previous - this seems to be only papering over a not yet discovered
bug somewhere else that (sometimes) makes _PYTHON_VERSION non-numerical.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-pygments/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile index 5c1c30d9bf9..c4d8788afad 100644 --- a/textproc/py-pygments/Makefile +++ b/textproc/py-pygments/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2022/09/04 05:48:05 martin Exp $ +# $NetBSD: Makefile,v 1.43 2022/09/05 07:38:41 martin Exp $ DISTNAME= Pygments-2.13.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} @@ -18,11 +18,10 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 -# XXXX the < comparision does not work! -# .include "../../lang/python/pyversion.mk" -# .if ${_PYTHON_VERSION} < 38 -# DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata -# .endif +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} < 38 +DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata +.endif USE_PKG_RESOURCES= yes |