summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-29 22:40:59 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-29 22:40:59 +0000
commit6e4475d7511ef4361a7706f80fce15d8f5f659d1 (patch)
treed2495d1cd2b3ae459dabec665f5d62d801211154 /net-misc/dhcp
parentVersion bump. The new version adds support for --foreground option to wait fo... (diff)
downloadgentoo-2-6e4475d7511ef4361a7706f80fce15d8f5f659d1.tar.gz
gentoo-2-6e4475d7511ef4361a7706f80fce15d8f5f659d1.tar.bz2
gentoo-2-6e4475d7511ef4361a7706f80fce15d8f5f659d1.zip
Use BUILD_LIBS when creating build "gen" binary to fix cross-compiling cases where the target uses libcap.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dhcp')
-rw-r--r--net-misc/dhcp/ChangeLog7
-rw-r--r--net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch2
2 files changed, 7 insertions, 2 deletions
diff --git a/net-misc/dhcp/ChangeLog b/net-misc/dhcp/ChangeLog
index 61c013a4427b..e59778ab3b90 100644
--- a/net-misc/dhcp/ChangeLog
+++ b/net-misc/dhcp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/dhcp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.185 2011/08/29 21:08:27 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/ChangeLog,v 1.186 2011/08/29 22:40:59 vapier Exp $
+
+ 29 Aug 2011; Mike Frysinger <vapier@gentoo.org>
+ files/dhcp-4.2.2-bind-build-flags.patch:
+ Use BUILD_LIBS when creating build "gen" binary to fix cross-compiling cases
+ where the target uses libcap.
29 Aug 2011; Diego E. Pettenò <flameeyes@gentoo.org> dhcp-4.2.2-r1.ebuild:
Make sure the bind sub-build doesn't find libcap or it can rely on it for the
diff --git a/net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch b/net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch
index 5d74e1a83022..ae33638284b8 100644
--- a/net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch
+++ b/net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch
@@ -8,7 +8,7 @@ doesn't use them for the "gen" tool
gen: ${srcdir}/gen.c
- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
-+ ${BUILD_CC} ${BUILD_CFLAGS} ${CINCLUDES} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${BUILD_CC} ${BUILD_CFLAGS} ${CINCLUDES} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
#We don't need rbtdb64 for this library
#rbtdb64.@O@: rbtdb.c