summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-11-30 21:06:36 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-11-30 21:06:36 +0000
commit702645a1b74b04d1aa917ac41689d3bb65ff6eed (patch)
tree796acd9af37f96504913ccf0cfd633969d43ebc0 /dev-db
parentrelease autoconf (diff)
downloadgentoo-2-702645a1b74b04d1aa917ac41689d3bb65ff6eed.tar.gz
gentoo-2-702645a1b74b04d1aa917ac41689d3bb65ff6eed.tar.bz2
gentoo-2-702645a1b74b04d1aa917ac41689d3bb65ff6eed.zip
Added xml2 support
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/ChangeLog6
-rw-r--r--dev-db/postgresql/postgresql-8.0.0_beta5.ebuild13
2 files changed, 16 insertions, 3 deletions
diff --git a/dev-db/postgresql/ChangeLog b/dev-db/postgresql/ChangeLog
index 0021a5a779bc..1944244f712b 100644
--- a/dev-db/postgresql/ChangeLog
+++ b/dev-db/postgresql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/postgresql
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.154 2004/11/23 10:42:55 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/ChangeLog,v 1.155 2004/11/30 21:06:36 nakano Exp $
+
+ 30 Nov 2004; Masatomo Nakano <nakano@gentoo.org>
+ postgresql-8.0.0_beta5.ebuild:
+ Added xml2 support. (#72942)
*postgresql-8.0.0_beta5 (23 Nov 2004)
diff --git a/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild b/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild
index 378f779208e8..c4d864bac9a9 100644
--- a/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild
+++ b/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild,v 1.1 2004/11/23 10:42:55 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/postgresql/postgresql-8.0.0_beta5.ebuild,v 1.2 2004/11/30 21:06:36 nakano Exp $
inherit eutils gnuconfig flag-o-matic
@@ -17,7 +17,7 @@ SRC_URI="mirror://postgresql/source/v8.0.0beta/${PN}-base-${MY_PV}.tar.bz2
LICENSE="POSTGRESQL"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc64"
-IUSE="ssl nls python tcltk perl libg++ pam readline zlib doc"
+IUSE="ssl nls python tcltk perl libg++ pam readline xml2 zlib doc"
S=${WORKDIR}/${MY_P}
DEPEND="virtual/libc
@@ -30,6 +30,7 @@ DEPEND="virtual/libc
perl? ( >=dev-lang/perl-5.6.1-r2 )
python? ( >=dev-lang/python-2.2 dev-python/egenix-mx-base )
ssl? ( >=dev-libs/openssl-0.9.6-r1 )
+ xml2? ( dev-libs/libxml2 )
nls? ( sys-devel/gettext )"
RDEPEND="virtual/libc
app-admin/sudo
@@ -98,6 +99,10 @@ src_compile() {
make || die
cd contrib
make || die
+ if use xml2; then
+ cd xml2
+ make || die
+ fi
}
src_install() {
@@ -114,6 +119,10 @@ src_install() {
# make DESTDIR=${D} install-all-headers || die
cd ${S}/contrib
make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
+ if use xml2; then
+ cd ${S}/contrib/xml2
+ make DESTDIR=${D} LIBDIR=${D}/usr/lib install || die
+ fi
cd ${S}
if use pg-hier; then
dodoc ${WORKDIR}/README-${P_HIERPG}.html || die