|
|
| |
DEPEND="berkdb? ( sys-libs/db )" | DEPEND="berkdb? ( sys-libs/db )" |
| |
pkg_setup() { |
|
# On OSX there is no user/group bin, see bug #96743 |
|
if use ppc-macos; |
|
then |
|
enewgroup bin |
|
enewuser bin -1 -1 -1 bin |
|
fi |
|
} |
|
|
|
src_unpack() { | src_unpack() { |
unpack ${A} | unpack ${A} |
cd "${S}" | cd "${S}" |
|
|
} | } |
| |
src_install() { | src_install() { |
make INSTALL_ROOT="${D}" install || die |
# On OSX for example, the group of root is wheel, not root, so we |
|
# have to find this out dynamically. On Solaris we should use |
|
# /usr/xpg4/bin/id in order to make this work. |
|
local root_group=`id -gn root` |
|
|
|
make INSTALL_ROOT="${D}" \ |
|
BINOWN="root" BINGRP="${root_group}" \ |
|
install || die |
| |
make \ | make \ |
includedir=/usr/include/gdbm \ | includedir=/usr/include/gdbm \ |
INSTALL_ROOT="${D}" \ | INSTALL_ROOT="${D}" \ |
|
BINOWN="root" BINGRP="${root_group}" \ |
install-compat || die | install-compat || die |
| |
dodoc ChangeLog NEWS README | dodoc ChangeLog NEWS README |