diff options
author | Ben Lutgens <blutgens@gentoo.org> | 2001-06-01 16:18:55 +0000 |
---|---|---|
committer | Ben Lutgens <blutgens@gentoo.org> | 2001-06-01 16:18:55 +0000 |
commit | c0a197a81206e7ca14884303863ec44f9f12d091 (patch) | |
tree | 65240a55f20691db9114807468dec55a44012461 /net-nds | |
parent | Trying the commit again. .... (diff) | |
download | historical-c0a197a81206e7ca14884303863ec44f9f12d091.tar.gz historical-c0a197a81206e7ca14884303863ec44f9f12d091.tar.bz2 historical-c0a197a81206e7ca14884303863ec44f9f12d091.zip |
Committing busted stuff for achim to work some mojo on.
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/openldap/openldap-1.2.11-r2.ebuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net-nds/openldap/openldap-1.2.11-r2.ebuild b/net-nds/openldap/openldap-1.2.11-r2.ebuild index 82900bd28d5f..f5c183414e6f 100644 --- a/net-nds/openldap/openldap-1.2.11-r2.ebuild +++ b/net-nds/openldap/openldap-1.2.11-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-1.2.11-r2.ebuild,v 1.3 2001/05/29 17:28:19 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-1.2.11-r2.ebuild,v 1.4 2001/06/01 16:18:55 blutgens Exp $ A=${PN}-stable-20000704.tgz S=${WORKDIR}/${P} @@ -12,17 +12,24 @@ HOMEPAGE="http://www.OpenLDAP.org/" DEPEND="virtual/glibc tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) >=sys-libs/ncurses-5.1 - >=sys-libs/gdbm-1.8.0" + gdbm? ( >=sys-libs/gdbm-1.8.0 ) + berkdb? ( >=sys-libs/db-3.2.3h )" RDEPEND="virtual/glibc >=sys-libs/ncurses-5.1 - >=sys-libs/gdbm-1.8.0" + gdbm? ( >=sys-libs/gdbm-1.8.0 ) + berkdb? ( >=sys-libs/db-3.2.3h )"" src_compile() { local myconf if [ "`use tcpd`" ] ; then myconf="--enable-wrappers" fi + if [ "`use berkdb`" ] ; then + myconf="--enable-ldbm --with-ldbm-api=db" + else [ "`use gdbm`" ] ; then + myconf="$myconf --enable-ldbm --with-ldbm-api=gdbm" + fi ./configure --host=${CHOST} --enable-passwd \ --enable-shell --enable-shared --enable-static \ --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \ |