diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-10-04 21:27:45 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-10-04 21:27:45 +0000 |
commit | f7e3685379f31940acd7a91ab2517db1052016d8 (patch) | |
tree | d4e0b1a6c955801e2a199833bb826407ff5fdc3f /net-im | |
parent | Remove unused 'gnutls' USE flag (bug #150083). (diff) | |
download | gentoo-2-f7e3685379f31940acd7a91ab2517db1052016d8.tar.gz gentoo-2-f7e3685379f31940acd7a91ab2517db1052016d8.tar.bz2 gentoo-2-f7e3685379f31940acd7a91ab2517db1052016d8.zip |
Added sqlite USE flag.
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/jabberd/ChangeLog | 6 | ||||
-rw-r--r-- | net-im/jabberd/files/jabberd-2.0.11-configure.in.patch | 13 | ||||
-rw-r--r-- | net-im/jabberd/jabberd-2.0.11-r1.ebuild | 58 |
3 files changed, 37 insertions, 40 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog index 2112ccda7f07..054dd710c4eb 100644 --- a/net-im/jabberd/ChangeLog +++ b/net-im/jabberd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-im/jabberd # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.79 2006/10/04 20:48:58 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.80 2006/10/04 21:27:45 nelchael Exp $ + + 04 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jabberd-2.0.11-configure.in.patch, jabberd-2.0.11-r1.ebuild: + Added sqlite USE flag. *jabberd-2.0.11-r1 (04 Oct 2006) diff --git a/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch b/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch new file mode 100644 index 000000000000..64a6697dcc97 --- /dev/null +++ b/net-im/jabberd/files/jabberd-2.0.11-configure.in.patch @@ -0,0 +1,13 @@ +diff -Nru jabberd-2.0s11.vanilla/configure.in jabberd-2.0s11/configure.in +--- jabberd-2.0s11.vanilla/configure.in 2006-10-04 23:14:07.000000000 +0200 ++++ jabberd-2.0s11/configure.in 2006-10-04 23:19:58.000000000 +0200 +@@ -758,9 +758,6 @@ + dnl finishing up + dnl + +-dnl put our config in its own subdir +-sysconfdir="$sysconfdir/jabberd" +- + dnl done! + AC_OUTPUT(Makefile \ + etc/Makefile \ diff --git a/net-im/jabberd/jabberd-2.0.11-r1.ebuild b/net-im/jabberd/jabberd-2.0.11-r1.ebuild index 43daaea57040..5f7e493c0f50 100644 --- a/net-im/jabberd/jabberd-2.0.11-r1.ebuild +++ b/net-im/jabberd/jabberd-2.0.11-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-2.0.11-r1.ebuild,v 1.1 2006/10/04 20:48:58 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-2.0.11-r1.ebuild,v 1.2 2006/10/04 21:27:45 nelchael Exp $ -inherit autotools versionator +inherit autotools eutils versionator MY_PV=$(replace_version_separator 2 s) @@ -13,45 +13,26 @@ SRC_URI="http://jabberstudio.2nw.net/${PN}2/${PN}-${MY_PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="berkdb debug ipv6 ldap mysql pam pipe postgres ssl" +IUSE="debug ipv6 ldap mysql pam pipe postgres sqlite ssl" -DEPEND="!=net-im/jabberd-2.0.11 +DEPEND=">=net-im/jabber-base-0.01 dev-libs/openssl net-dns/libidn ldap? ( net-nds/openldap ) - berkdb? ( >=sys-libs/db-4.1.25 ) - !mysql? ( - !postgres? ( >=sys-libs/db-4.1.25 ) - ) + >=sys-libs/db-4.1.25 mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql )" -RDEPEND="${DEPEND} - dev-lang/perl" + postgres? ( dev-db/postgresql ) + sqlite? ( =dev-db/sqlite-3* ) + !=net-im/jabberd-2.0.11" S="${WORKDIR}/${PN}-${MY_PV}" -pkg_setup() { - - if ! use postgres && ! use mysql && ! use berkdb; then - ewarn - ewarn "For this version of jabberd you should have" - ewarn "at least one of 'mysql', 'postgres' and/or 'berkdb'" - ewarn "in the USE variable." - ewarn - ewarn "Compiling with default berkdb support." - ewarn - ebeep - fi - -} - src_unpack() { unpack ${A} cd "${S}" - # Remove substituting $sysconfdir with $sysconfdir/jabberd - sed -i -e '762s,^,dnl ,' configure.in + epatch "${FILESDIR}/${P}-configure.in.patch" } @@ -59,22 +40,21 @@ src_compile() { eautoreconf - local dbengine= - if ! use postgres && ! use mysql && ! use berkdb; then - dbengine="--enable-db" - else - dbengine="$(use_enable mysql) $(use_enable postgres pgsql) $(use_enable berkdb db)" - fi + local localconf= + use debug && localconf="${localconf} --enable-debug --enable-nad-debug --enable-pool-debug" econf \ --localstatedir=/var \ --sysconfdir=/etc/jabber \ - ${dbengine} \ - $(use_enable pipe) \ - $(use_enable pam) \ - $(use_enable ldap) \ + --enable-db + ${localconf} \ $(use_enable ipv6) \ - $(use_enable debug) \ + $(use_enable ldap) \ + $(use_enable mysql) \ + $(use_enable pam) \ + $(use_enable pipe) \ + $(use_enable postgres pgsql) \ + $(use_enable sqlite) \ || die "econf failed" emake || die "make failed" |