666f370183
(webm) support and alpha support. This work is a joint effort from myself, naddy@ and jakemsr@. Cheers. OK jakemsr@
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
$OpenBSD: patch-DOCS_xml_configure,v 1.3 2010/11/08 21:25:44 edd Exp $
|
|
--- DOCS/xml/configure.orig Wed Jul 28 11:00:56 2010
|
|
+++ DOCS/xml/configure Thu Oct 28 01:08:35 2010
|
|
@@ -16,7 +16,8 @@ for try_catalog in \
|
|
/usr/lib/sgml/catalog \
|
|
/usr/local/lib/sgml/catalog \
|
|
/usr/share/docbook-xml42/catalog.xml \
|
|
- /usr/share/sgml/docbook/xmlcatalog
|
|
+ /usr/share/sgml/docbook/xmlcatalog \
|
|
+ ${LOCALBASE}/share/sgml/catalog
|
|
do
|
|
if test -f "$try_catalog"; then
|
|
catalog=$try_catalog
|
|
@@ -45,6 +46,7 @@ for try_chunk_xsl in \
|
|
/usr/share/sgml/docbook/xsl-stylesheets*/html/chunk.xsl \
|
|
/usr/share/xml/docbook/stylesheet/nwalsh/current/html/chunk.xsl \
|
|
/opt/local/share/xsl/docbook-xsl/html/chunk.xsl \
|
|
+ ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl
|
|
|
|
do
|
|
if test -f "$try_chunk_xsl"; then
|
|
@@ -72,6 +74,7 @@ for try_docbook_xsl in \
|
|
/usr/share/sgml/docbook/xsl-stylesheets*/html/docbook.xsl \
|
|
/usr/share/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl \
|
|
/opt/local/share/xsl/docbook-xsl/html/docbook.xsl \
|
|
+ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl
|
|
|
|
do
|
|
if test -f "$try_docbook_xsl"; then
|
|
@@ -126,7 +129,8 @@ for try_dtd in \
|
|
/usr/share/sgml/docbook/dtd/xml/*/docbookx.dtd \
|
|
/usr/share/docbook-xml*/docbookx.dtd \
|
|
/opt/local/share/xml/docbook*/*/docbookx.dtd \
|
|
- /usr/share/apps/ksgmltools2/docbook/*/docbookx.dtd
|
|
+ /usr/share/apps/ksgmltools2/docbook/*/docbookx.dtd \
|
|
+ ${LOCALBASE}/share/xml/docbook/*/docbookx.dtd
|
|
do
|
|
if test -f "$try_dtd"; then
|
|
dtd=$try_dtd
|
|
@@ -169,7 +173,7 @@ echo "Looking for a valid XSLT processor..."
|
|
if xsltproc --version > /dev/null 2>&1; then
|
|
if test -z "$fake_chunk_xsl"; then
|
|
echo "Found xsltproc. If it works, it's probably the best choice."
|
|
- xsltcommand="xsltproc $catalog_opts -o \$\$1 \$\$2 \$\$3"
|
|
+ xsltcommand="xsltproc $catalog_opts -o \$$1 \$$2 \$$3"
|
|
else
|
|
echo "Found xsltproc but no stylesheets on your system."
|
|
echo "xsltproc is unusable without stylesheets."
|