pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-libxslt py-libxslt was not actually depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b459daea78a
branches:  trunk
changeset: 321205:2b459daea78a
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Tue Mar 19 03:53:45 2019 +0000

description:
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:

 textproc/py-libxslt/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 6f9bacbf6546 -r 2b459daea78a textproc/py-libxslt/Makefile
--- a/textproc/py-libxslt/Makefile      Mon Mar 18 21:47:02 2019 +0000
+++ b/textproc/py-libxslt/Makefile      Tue Mar 19 03:53:45 2019 +0000
@@ -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@localhost
@@ -34,6 +35,9 @@
 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"



Home | Main Index | Thread Index | Old Index