diff options
author | 2007-01-07 12:43:04 +0000 | |
---|---|---|
committer | 2007-01-07 12:43:04 +0000 | |
commit | bf07d72c5e359bf2c27646b3730c98931b220105 (patch) | |
tree | 2d1af395a3ce91ddcaebc32caea257fc9a6b6a64 /dev-db | |
parent | arm/s390/sh love (diff) | |
download | gentoo-2-bf07d72c5e359bf2c27646b3730c98931b220105.tar.gz gentoo-2-bf07d72c5e359bf2c27646b3730c98931b220105.tar.bz2 gentoo-2-bf07d72c5e359bf2c27646b3730c98931b220105.zip |
Adding the omited xsl patch.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/postgis/files/postgis_xsl.patch | 41 | ||||
-rw-r--r-- | dev-db/postgis/postgis-1.1.6.ebuild | 4 | ||||
-rw-r--r-- | dev-db/postgis/postgis-1.2.0.ebuild | 4 |
3 files changed, 45 insertions, 4 deletions
diff --git a/dev-db/postgis/files/postgis_xsl.patch b/dev-db/postgis/files/postgis_xsl.patch new file mode 100644 index 000000000000..f96a703f0ea0 --- /dev/null +++ b/dev-db/postgis/files/postgis_xsl.patch @@ -0,0 +1,41 @@ +--- ./postgis-1.2.0/configure.in 2006-11-10 16:17:10.000000000 +0100 ++++ ./postgis-1.2.0-patched/configure.in 2006-12-19 22:55:03.000000000 +0100 +@@ -323,17 +323,28 @@ + dnl + AC_SUBST(XSLBASE) + XSLBASE= +-SEARCHPATH=" +- /usr/share/sgml/docbook/xsl-stylesheets +- /usr/share/xml/docbook/stylesheet/nwalsh +- /usr/share/sgml/docbook/stylesheet/xsl/nwalsh +-" +-for p in ${SEARCHPATH}; do +- if test -r ${p}/html/docbook.xsl; then +- XSLBASE=${p} +- break ++AC_ARG_WITH(xsl, ++[ --with-xsl=DIR use the xsl stylesheets located in DIR], ++ if test "$with_xsl" = yes; then ++ AC_MSG_ERROR([option --with-xsl requires an argument]) + fi +-done ++ if test "$with_xsl" != "no"; then ++ xsl="$with_xsl" ++ else ++ SEARCHPATH=" ++ /usr/share/sgml/docbook/xsl-stylesheets ++ /usr/share/xml/docbook/stylesheet/nwalsh ++ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh ++ " ++ for p in ${SEARCHPATH}; do ++ if test -r "${p}"/html/docbook.xsl; then ++ xsl="${p}" ++ break ++ fi ++ done ++ fi ++) ++XSLBASE="${xsl}" + + dnl + dnl Search for other binaries needed to build docs diff --git a/dev-db/postgis/postgis-1.1.6.ebuild b/dev-db/postgis/postgis-1.1.6.ebuild index c9e8b48d89a0..e9d44a5fb1f1 100644 --- a/dev-db/postgis/postgis-1.1.6.ebuild +++ b/dev-db/postgis/postgis-1.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.1.6.ebuild,v 1.1 2007/01/06 19:41:27 djay Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.1.6.ebuild,v 1.2 2007/01/07 12:43:04 djay Exp $ WANT_AUTOCONF="lastest" inherit autotools eutils versionator @@ -49,7 +49,7 @@ src_compile(){ fi if use doc;then - myconf=="${myconf} --with-xsl=$(ls "${ROOT}"usr/share/sgml/docbook/* | \ + myconf="${myconf} --with-xsl=$(ls "${ROOT}"usr/share/sgml/docbook/* | \ grep xsl\- | cut -d':' -f1)" fi diff --git a/dev-db/postgis/postgis-1.2.0.ebuild b/dev-db/postgis/postgis-1.2.0.ebuild index fbcdc72b3023..bf911dbf5dfa 100644 --- a/dev-db/postgis/postgis-1.2.0.ebuild +++ b/dev-db/postgis/postgis-1.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.2.0.ebuild,v 1.1 2007/01/06 19:41:27 djay Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/postgis/postgis-1.2.0.ebuild,v 1.2 2007/01/07 12:43:04 djay Exp $ WANT_AUTOCONF="lastest" inherit autotools eutils versionator @@ -49,7 +49,7 @@ src_compile(){ fi if use doc;then - myconf=="${myconf} --with-xsl=$(ls "${ROOT}"usr/share/sgml/docbook/* | \ + myconf="${myconf} --with-xsl=$(ls "${ROOT}"usr/share/sgml/docbook/* | \ grep xsl\- | cut -d':' -f1)" fi |