summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dhcpcd/ChangeLog5
-rw-r--r--net-misc/dhcpcd/dhcpcd-3.1.4.ebuild6
2 files changed, 8 insertions, 3 deletions
diff --git a/net-misc/dhcpcd/ChangeLog b/net-misc/dhcpcd/ChangeLog
index a932fee0afb2..5e757b32167a 100644
--- a/net-misc/dhcpcd/ChangeLog
+++ b/net-misc/dhcpcd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/dhcpcd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.153 2007/08/09 16:36:17 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/ChangeLog,v 1.154 2007/08/11 10:23:51 uberlord Exp $
+
+ 11 Aug 2007; Roy Marples <uberlord@gentoo.org> dhcpcd-3.1.4.ebuild:
+ Fix linker error when coreutils is statically built, #188333.
*dhcpcd-3.1.4 (09 Aug 2007)
diff --git a/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild b/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild
index 5b6f6bc70ac8..32a15a5e6f79 100644
--- a/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild,v 1.1 2007/08/09 16:36:17 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcpcd/dhcpcd-3.1.4.ebuild,v 1.2 2007/08/11 10:23:51 uberlord Exp $
inherit toolchain-funcs
@@ -30,7 +30,9 @@ src_unpack() {
}
src_compile() {
- make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
+ local librt=
+ use elibc_glibc && librt="LIBRT=-lrt"
+ make CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${librt} || die
}
src_install() {