Allow the XML catalogs to be built if BATCH is defined.

Reported by:	Hung Michael Nguyen <nguyenhm16@mac.com>
This commit is contained in:
Joe Marcus Clarke 2003-01-21 22:08:14 +00:00
parent 78f469ad84
commit 797ca128e5
2 changed files with 3 additions and 3 deletions

View file

@ -76,7 +76,7 @@ post-patch:
${WRKSRC}/libs/Makefile.in
pre-configure:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
.if !defined(PACKAGE_BUILDING)
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif

View file

@ -15,8 +15,8 @@
- echo $ac_n "checking for docbook-dtd412-xml""... $ac_c" 1>&6
-echo "configure:6282: checking for docbook-dtd412-xml" >&5
- if xmlcatalog /etc/xml/catalog "-//OASIS//DTD DocBook XML V4.1.2//EN" | grep "No entry" >/dev/null ; then
+ echo $ac_n "checking for docbook-dtd42-xml""... $ac_c" 1>&6
+echo "configure:6282: checking for docbook-dtd42-xml" >&5
+ echo $ac_n "checking for docbook-dtd412-xml""... $ac_c" 1>&6
+echo "configure:6282: checking for docbook-dtd412-xml" >&5
+ if test ! -f $LOCALBASE/share/sk/docbook/catalog ; then
echo "* ERROR * "
echo " "