pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-libxslt



Module Name:    pkgsrc
Committed By:   dholland
Date:           Tue Mar 19 03:53:45 UTC 2019

Modified Files:
        pkgsrc/textproc/py-libxslt: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/textproc/py-libxslt/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-libxslt/Makefile
diff -u pkgsrc/textproc/py-libxslt/Makefile:1.52 pkgsrc/textproc/py-libxslt/Makefile:1.53
--- pkgsrc/textproc/py-libxslt/Makefile:1.52    Wed Jan  9 19:12:14 2019
+++ pkgsrc/textproc/py-libxslt/Makefile Tue Mar 19 03:53:45 2019
@@ -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 @@ 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"



Home | Main Index | Thread Index | Old Index