pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libxslt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr  2 06:42:02 UTC 2020

Modified Files:
        pkgsrc/textproc/libxslt: Makefile

Log Message:
libxslt: fix man page

Addresses PR 55123 with a SUBST_SED.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/textproc/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/libxslt/Makefile
diff -u pkgsrc/textproc/libxslt/Makefile:1.110 pkgsrc/textproc/libxslt/Makefile:1.111
--- pkgsrc/textproc/libxslt/Makefile:1.110      Wed Nov  6 13:23:45 2019
+++ pkgsrc/textproc/libxslt/Makefile    Thu Apr  2 06:42:02 2020
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.110 2019/11/06 13:23:45 wiz Exp $
+# $NetBSD: Makefile,v 1.111 2020/04/02 06:42:02 wiz Exp $
 
 .include "Makefile.common"
 
+PKGREVISION=   1
+
 BUILD_DEPENDS+=        docbook-xml-[0-9]*:../../textproc/docbook-xml
 BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
 
@@ -16,6 +18,14 @@ PKGCONFIG_OVERRIDE=  libxslt.pc.in
 PKGCONFIG_OVERRIDE+=   libexslt.pc.in
 TEST_TARGET=           check
 
+# fix PR 55123 - leading whitespace breaks manpage
+SUBST_CLASSES+=                man
+SUBST_FILES.man=       doc/xsltproc.1
+SUBST_STAGE.man=       post-build
+SUBST_MESSAGE.man=     Clean up manpages.
+SUBST_SED.man+=                -e 's,^[         ]*,,'
+SUBST_SED.man+=                -e '/^$$/d'
+
 BUILDLINK_TRANSFORM.SunOS+=    opt:-Wl,./libxslt.syms:-Wl,./libxslt_solaris.syms
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index