pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-libxml2



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Feb 23 12:55:58 UTC 2026

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

Log Message:
revert previous


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/textproc/py-libxml2/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-libxml2/Makefile
diff -u pkgsrc/textproc/py-libxml2/Makefile:1.110 pkgsrc/textproc/py-libxml2/Makefile:1.111
--- pkgsrc/textproc/py-libxml2/Makefile:1.110   Mon Feb 23 12:21:00 2026
+++ pkgsrc/textproc/py-libxml2/Makefile Mon Feb 23 12:55:58 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2026/02/23 12:21:00 tnn Exp $
+# $NetBSD: Makefile,v 1.111 2026/02/23 12:55:58 tnn Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
@@ -14,14 +14,20 @@ GNU_CONFIGURE=              yes
 GNU_CONFIGURE_ICONV=   no
 USE_TOOLS+=            pkg-config
 
+# needed for Python bindings
+CONFIGURE_ARGS+=       --with-docs
+
+TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
+TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
 MAKE_ENV+=     PYTHONPATH=${WRKSRC}/python
 
 WHEEL_NAME=    ${DISTNAME:S/-/_python-/}
 
-post-extract:
-       ${MKDIR} ${WRKSRC}/python/doc/xml       # pretend docs are already built
+pre-build:
+       cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE}
 
 # python/setup.py looks in various places for libxml2 and libiconv,
 # including (usually incorrectly) in /usr/include, /usr/local/include



Home | Main Index | Thread Index | Old Index