|
Lines 1-6
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-0.9.6-r2.ebuild,v 1.1 2005/05/10 23:54:36 beu Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-projects/bsd/fbsd/overlay/dev-libs/apr-util/apr-util-0.9.6-r2.ebuild,v 1.1 2005/06/08 16:20:38 flameeyes Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils |
5 |
inherit eutils |
| 6 |
|
6 |
|
|
Lines 36-48
Link Here
|
| 36 |
|
36 |
|
| 37 |
if use berkdb; then |
37 |
if use berkdb; then |
| 38 |
if has_version '=sys-libs/db-4.2*'; then |
38 |
if has_version '=sys-libs/db-4.2*'; then |
| 39 |
myconf="${myconf} --with-dbm=db42 --with-berkely-db=/usr" |
39 |
myconf="${myconf} --with-dbm=db42 |
|
|
40 |
--with-berkeley-db=/usr/include/db4.2:/usr/$(get_libdir)" |
| 40 |
elif has_version '=sys-libs/db-4*'; then |
41 |
elif has_version '=sys-libs/db-4*'; then |
| 41 |
myconf="${myconf} --with-dbm=db4 --with-berkely-db=/usr" |
42 |
myconf="${myconf} --with-dbm=db4 |
|
|
43 |
--with-berkeley-db=/usr/include/db4:/usr/$(get_libdir)" |
| 42 |
elif has_version '=sys-libs/db-3*'; then |
44 |
elif has_version '=sys-libs/db-3*'; then |
| 43 |
myconf="${myconf} --with-dbm=db3 --with-berkely-db=/usr" |
45 |
myconf="${myconf} --with-dbm=db3 |
|
|
46 |
--with-berkeley-db=/usr/include/db3:/usr/$(get_libdir)" |
| 44 |
elif has_version '=sys-libs/db-2'; then |
47 |
elif has_version '=sys-libs/db-2'; then |
| 45 |
myconf="${myconf} --with-dbm=db2 --with-berkely-db=/usr" |
48 |
myconf="${myconf} --with-dbm=db2 |
|
|
49 |
--with-berkely-db=/usr/include/db2:/usr/$(get_libdir)" |
| 46 |
fi |
50 |
fi |
| 47 |
fi |
51 |
fi |
| 48 |
|
52 |
|
|
Lines 65-69
Link Here
|
| 65 |
dodoc CHANGES NOTICE |
69 |
dodoc CHANGES NOTICE |
| 66 |
|
70 |
|
| 67 |
# Will install as portage user when using userpriv. Fixing |
71 |
# Will install as portage user when using userpriv. Fixing |
| 68 |
chown -R root:root ${D}/usr/include/apr-0/ |
72 |
chown -R root:0 ${D}/usr/include/apr-0/ |
| 69 |
} |
73 |
} |