summaryrefslogtreecommitdiffstats
path: root/meta/packages/dhcp
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-08-27 15:04:26 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-08-27 15:04:26 +0100
commit27881baf8085fdf239547e909a0c725607697a8c (patch)
treef6211b039f27ee6bcd96c28dbadc5926672d48d2 /meta/packages/dhcp
parent21c622d30aa1a542debcdc8de1be6801283486eb (diff)
downloadpoky-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.bb4
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"
2DESCRIPTION = "Internet Software Consortium DHCP package" 2DESCRIPTION = "Internet Software Consortium DHCP package"
3HOMEPAGE = "http://www.isc.org/" 3HOMEPAGE = "http://www.isc.org/"
4LICENSE = "BSD" 4LICENSE = "BSD"
5PR = "r6" 5PR = "r7"
6SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ 6SRC_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
13inherit autotools 13inherit autotools
14 14
15TARGET_CFLAGS += "-D_GNU_SOURCE"
16
15do_compile() { 17do_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\" \