pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/expat expat: use upstream-suggested workaroun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d48471fca088
branches:  trunk
changeset: 440479:d48471fca088
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Oct 09 12:00:56 2020 +0000

description:
expat: use upstream-suggested workaround for installing man page

diffstat:

 textproc/expat/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 9f7042bc6d58 -r d48471fca088 textproc/expat/Makefile
--- a/textproc/expat/Makefile   Fri Oct 09 11:46:29 2020 +0000
+++ b/textproc/expat/Makefile   Fri Oct 09 12:00:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2020/10/08 16:55:04 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2020/10/09 12:00:56 wiz Exp $
 
 DISTNAME=      expat-2.2.10
 PKGREVISION=   1
@@ -17,6 +17,8 @@
 
 CONFIGURE_ARGS+=       --without-examples
 CONFIGURE_ARGS+=       --without-tests
+# workaround suggested by upstream; xmlwf.1 is in tarball, so docbook not needed
+CONFIGURE_ENV+=                DOCBOOK_TO_MAN=false
 CONFIGURE_ARGS+=       --without-docbook
 
 USE_LANGUAGES= c c++
@@ -31,12 +33,9 @@
 
 DOCDIR=        ${PREFIX}/share/doc/expat
 
-INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
-
 post-install:
        ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/reference.html ${DESTDIR}${DOCDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/style.css ${DESTDIR}${DOCDIR}
-       ${INSTALL_DATA} ${WRKSRC}/doc/xmlwf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index