From 6e4475d7511ef4361a7706f80fce15d8f5f659d1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Aug 2011 22:40:59 +0000 Subject: 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) --- net-misc/dhcp/ChangeLog | 7 ++++++- net-misc/dhcp/files/dhcp-4.2.2-bind-build-flags.patch | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'net-misc') 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 + 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ò 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 -- cgit v1.2.3-65-gdbad