ports/123003: [PATCH] textproc/docbook: ignore an error by xmlcatmgr

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Wed Apr 23 06:36:13 UTC 2008


>>>>> In <200804230310.m3N3A19C014435 at freefall.freebsd.org> 
>>>>>	FreeBSD-gnats-submit at FreeBSD.org wrote:

> http://www.freebsd.org/cgi/query-pr.cgi?pr=123003

> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [PATCH] textproc/docbook: ignore an error by xmlcatmgr
> >Arrival-Date:   Wed Apr 23 03:10:01 UTC 2008

All docbook-[0-9]*/Makefile need smillar change. Here is an updated patch.

Index: docbook-241/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-241/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- docbook-241/Makefile	15 Apr 2006 06:46:10 -0000	1.18
+++ docbook-241/Makefile	23 Apr 2008 06:09:29 -0000
@@ -49,6 +49,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${DTD_VERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${DTD_VERSION}/catalog
 
 .include <bsd.port.mk>
Index: docbook-300/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-300/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- docbook-300/Makefile	15 Apr 2006 06:46:10 -0000	1.19
+++ docbook-300/Makefile	23 Apr 2008 06:09:38 -0000
@@ -48,6 +48,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
 
 .include <bsd.port.mk>
Index: docbook-310/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-310/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- docbook-310/Makefile	29 Apr 2006 18:51:36 -0000	1.26
+++ docbook-310/Makefile	23 Apr 2008 06:09:45 -0000
@@ -49,6 +49,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
 
 .include <bsd.port.mk>
Index: docbook-400/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-400/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- docbook-400/Makefile	27 Apr 2005 23:35:54 -0000	1.16
+++ docbook-400/Makefile	23 Apr 2008 06:09:52 -0000
@@ -49,6 +49,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
 
 .include <bsd.port.mk>
Index: docbook-410/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-410/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- docbook-410/Makefile	22 Nov 2007 22:37:36 -0000	1.13
+++ docbook-410/Makefile	23 Apr 2008 02:32:23 -0000
@@ -49,6 +49,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
 
 .include <bsd.port.mk>
Index: docbook-420/Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/docbook-420/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- docbook-420/Makefile	19 Apr 2004 09:16:07 -0000	1.2
+++ docbook-420/Makefile	23 Apr 2008 06:10:04 -0000
@@ -48,6 +48,6 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
 
 post-install:
-	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
+	@-${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
 
 .include <bsd.port.mk>

-- 
NAKAJI Hiroyuki



More information about the freebsd-ports-bugs mailing list