summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2019-03-19 03:53:45 +0000
committerdholland <dholland@pkgsrc.org>2019-03-19 03:53:45 +0000
commit4c23af4a103a890181bd3fcb7bcda2119238bf2b (patch)
tree6629ed389b76838022f953d46b8d0e8233babc36 /textproc
parent1c6cb07cd94a132d2961e57906acf3bb8e06cfdc (diff)
downloadpkgsrc-4c23af4a103a890181bd3fcb7bcda2119238bf2b.tar.gz
py-libxslt was not actually depending on python.
Juggle the includes to fix that. Because py-libxml2's bl3 file includes pyversion.mk, py-libxslt must include pyversion.mk itself first; otherwise, because pyversion.mk can only be applied once, the python dependence ends up in the wrong place in the buildlink tree. PKGREVISION -> 1.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-libxslt/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/py-libxslt/Makefile b/textproc/py-libxslt/Makefile
index 48c44235a6d..b8106f044bc 100644
--- a/textproc/py-libxslt/Makefile
+++ b/textproc/py-libxslt/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.52 2019/01/09 19:12:14 adam Exp $
+# $NetBSD: Makefile,v 1.53 2019/03/19 03:53:45 dholland Exp $
.include "../../textproc/libxslt/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= textproc python
MAINTAINER= minskim@NetBSD.org
@@ -34,6 +35,9 @@ post-extract: setuppy
setuppy:
${CP} ${FILESDIR}/setup.py ${WRKSRC}/python
+# this must come before py-libxml2's bl3 or the direct dependence is lost
+.include "../../lang/python/pyversion.mk"
+
.include "../../textproc/py-libxml2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=${PKGVERSION}
.include "../../textproc/libxslt/buildlink3.mk"