summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/nss-db')
-rw-r--r--sys-libs/nss-db/nss-db-2.2.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-libs/nss-db/nss-db-2.2.ebuild b/sys-libs/nss-db/nss-db-2.2.ebuild
index 1fe9f4f1df90..fdc9b4438302 100644
--- a/sys-libs/nss-db/nss-db-2.2.ebuild
+++ b/sys-libs/nss-db/nss-db-2.2.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 Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-db/nss-db-2.2.ebuild,v 1.2 2000/11/17 01:59:33 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/nss-db/nss-db-2.2.ebuild,v 1.3 2000/11/30 23:14:00 achim Exp $
A=nss_db-2.2.tar.gz
S=${WORKDIR}/nss_db-2.2
@@ -12,16 +12,15 @@ HOMEPAGE="http://www.gnu.org"
DEPEND=">=sys-libs/db-3.1.17 >=sys-libs/glibc-2.2-r2"
src_compile() {
- try ./configure --with-db=/usr/include/db3 --prefix=/usr
- try make
+ try ./configure --with-db=/usr/include/db3 --prefix=/usr --libdir=/usr/lib
+ try make ${MAKEOPTS}
}
src_install () {
make DESTDIR=${D} install
- cd ${D}
- rm usr/lib/*
- mv lib/* usr/lib
- rm -rf lib
+ rm -rf ${D}/usr/lib
+ cd ${D}/lib
+ ln -s libnss_db-2.2.so libnss_db.so
cd ${S}
dodoc AUTHORS COPYING* ChangeLog NEWS README THANKS
}