CVS commit: pkgsrc/textproc/xmlto

"Jonathan Perkin" <[email protected]> Thu, 30 Jul 2026 12:28:07 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	jperkin
Date:		Thu Jul 30 12:28:07 UTC 2026

Modified Files:
	pkgsrc/textproc/xmlto: Makefile

Log Message:
xmlto: Add libpaper dependency.

Goes looking for paperconf and embeds a path to it if found, so supply it
ourselves to ensure consistency.  Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/textproc/xmlto/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.1 KB)
Modified files:

Index: pkgsrc/textproc/xmlto/Makefile
diff -u pkgsrc/textproc/xmlto/Makefile:1.51 pkgsrc/textproc/xmlto/Makefile:1.52
--- pkgsrc/textproc/xmlto/Makefile:1.51	Wed Jul  1 03:50:37 2026
+++ pkgsrc/textproc/xmlto/Makefile	Thu Jul 30 12:28:07 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2026/07/01 03:50:37 gutteridge Exp $
+# $NetBSD: Makefile,v 1.52 2026/07/30 12:28:07 jperkin Exp $
 
 DISTNAME=	xmlto-0.0.29
-PKGREVISION=	2
+PKGREVISION=	3
 CATEGORIES=	textproc
 MASTER_SITES=	https://releases.pagure.org/xmlto/
 EXTRACT_SUFX=	.tar.bz2
@@ -13,6 +13,7 @@ LICENSE=	gnu-gpl-v2
 
 DEPENDS+=	docbook-xsl>=1.67.0nb1:../../textproc/docbook-xsl
 DEPENDS+=	getopt-[0-9]*:../../misc/getopt
+DEPENDS+=	libpaper>=2.2.8:../../print/libpaper
 DEPENDS+=	libxml2>=2.6.2:../../textproc/libxml2
 
 USE_GCC_RUNTIME=	yes
@@ -22,6 +23,7 @@ GNU_CONFIGURE=		yes
 GNU_CONFIGURE_ICONV=	no
 CONFIGURE_ENV+=		GCP=${TOOLS_PATH.cp}
 CONFIGURE_ENV+=		GETOPT=${PREFIX}/bin/getopt
+CONFIGURE_ENV+=		PAPER_CONF=${PREFIX}/bin/paperconf
 CONFIGURE_ENV+=		TAIL=${TOOLS_PATH.tail}
 CONFIGURE_ENV+=		XMLTO_BASH_PATH=${TOOLS_PATH.sh}