Lines 1-7
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.1.2.ebuild,v 1.2 2005/04/24 08:41:30 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-projects/bsd/fbsd/overlay/dev-libs/apr-util/apr-util-1.1.2.ebuild,v 1.1 2005/06/08 16:20:38 flameeyes Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit multilib |
5 |
|
6 |
|
6 |
DESCRIPTION="Apache Portable Runtime Library" |
7 |
DESCRIPTION="Apache Portable Runtime Library" |
7 |
HOMEPAGE="http://apr.apache.org/" |
8 |
HOMEPAGE="http://apr.apache.org/" |
Lines 29-41
Link Here
|
29 |
|
30 |
|
30 |
if use berkdb; then |
31 |
if use berkdb; then |
31 |
if has_version '=sys-libs/db-4.2*'; then |
32 |
if has_version '=sys-libs/db-4.2*'; then |
32 |
myconf="${myconf} --with-dbm=db42 --with-berkely-db=/usr" |
33 |
myconf="${myconf} --with-dbm=db42 |
|
|
34 |
--with-berkeley-db=/usr/include/db4.2:/usr/$(get_libdir)" |
33 |
elif has_version '=sys-libs/db-4*'; then |
35 |
elif has_version '=sys-libs/db-4*'; then |
34 |
myconf="${myconf} --with-dbm=db4 --with-berkely-db=/usr" |
36 |
myconf="${myconf} --with-dbm=db4 |
|
|
37 |
--with-berkeley-db=/usr/include/db4:/usr/$(get_libdir)" |
35 |
elif has_version '=sys-libs/db-3*'; then |
38 |
elif has_version '=sys-libs/db-3*'; then |
36 |
myconf="${myconf} --with-dbm=db3 --with-berkely-db=/usr" |
39 |
myconf="${myconf} --with-dbm=db3 |
|
|
40 |
--with-berkeley-db=/usr/include/db3:/usr/$(get_libdir)" |
37 |
elif has_version '=sys-libs/db-2'; then |
41 |
elif has_version '=sys-libs/db-2'; then |
38 |
myconf="${myconf} --with-dbm=db2 --with-berkely-db=/usr" |
42 |
myconf="${myconf} --with-dbm=db2 |
|
|
43 |
--with-berkely-db=/usr/include/db2:/usr/$(get_libdir)" |
39 |
fi |
44 |
fi |
40 |
fi |
45 |
fi |
41 |
|
46 |
|