diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-08-27 15:04:26 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-08-27 15:04:26 +0100 |
commit | 27881baf8085fdf239547e909a0c725607697a8c (patch) | |
tree | f6211b039f27ee6bcd96c28dbadc5926672d48d2 /meta/packages/dhcp | |
parent | 21c622d30aa1a542debcdc8de1be6801283486eb (diff) | |
download | poky-27881baf8085fdf239547e909a0c725607697a8c.tar.gz |
dhcp: Fix to work with glibc 2.9
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/dhcp')
-rw-r--r-- | meta/packages/dhcp/dhcp_4.1.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/dhcp/dhcp_4.1.0.bb b/meta/packages/dhcp/dhcp_4.1.0.bb index 4d68389234..cb6b267f30 100644 --- a/meta/packages/dhcp/dhcp_4.1.0.bb +++ b/meta/packages/dhcp/dhcp_4.1.0.bb | |||
@@ -2,7 +2,7 @@ SECTION = "console/network" | |||
2 | DESCRIPTION = "Internet Software Consortium DHCP package" | 2 | DESCRIPTION = "Internet Software Consortium DHCP package" |
3 | HOMEPAGE = "http://www.isc.org/" | 3 | HOMEPAGE = "http://www.isc.org/" |
4 | LICENSE = "BSD" | 4 | LICENSE = "BSD" |
5 | PR = "r6" | 5 | PR = "r7" |
6 | SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ | 6 | SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ |
7 | file://fixincludes.patch;patch=1 \ | 7 | file://fixincludes.patch;patch=1 \ |
8 | file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ | 8 | file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ |
@@ -12,6 +12,8 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ | |||
12 | 12 | ||
13 | inherit autotools | 13 | inherit autotools |
14 | 14 | ||
15 | TARGET_CFLAGS += "-D_GNU_SOURCE" | ||
16 | |||
15 | do_compile() { | 17 | do_compile() { |
16 | make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \ | 18 | make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \ |
17 | -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \ | 19 | -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \ |