diff options
Diffstat (limited to 'meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch')
| -rw-r--r-- | meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch b/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch new file mode 100644 index 0000000000..c2e2151d17 --- /dev/null +++ b/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | diff -Naur dhcdbd-1.14/Makefile dhcdbd-1.14-mod/Makefile | ||
| 2 | --- dhcdbd-1.14/Makefile 2006-01-17 22:23:51.000000000 +0100 | ||
| 3 | +++ dhcdbd-1.14-mod/Makefile 2006-08-02 18:02:42.000000000 +0200 | ||
| 4 | @@ -7,8 +7,8 @@ | ||
| 5 | LDFLAGS ?= -g | ||
| 6 | DESTDIR ?= / | ||
| 7 | LIBDIR ?= lib | ||
| 8 | -DBUS_INCLUDES ?= -I/usr/$(LIBDIR)/dbus-1.0/include -I/usr/include/dbus-1.0 | ||
| 9 | -DBUS_LIBS ?= -ldbus-1 | ||
| 10 | +DBUS_INCLUDES ?= `pkg-config dbus-1 --cflags` | ||
| 11 | +DBUS_LIBS ?= `pkg-config dbus-1 --libs` | ||
| 12 | OBJS = dbus_service.o dhcdbd.o dhcp_options.o main.o | ||
| 13 | SRCS = dbus_service.c dhcdbd.c dhcp_options.c main.c | ||
| 14 | INCS = dbus_service.h dhcdbd.h dhcp_options.h includes.h | ||
| 15 | diff -Naur dhcdbd-1.14/tests/Makefile dhcdbd-1.14-mod/tests/Makefile | ||
| 16 | --- dhcdbd-1.14/tests/Makefile 2006-01-17 22:23:51.000000000 +0100 | ||
| 17 | +++ dhcdbd-1.14-mod/tests/Makefile 2006-08-02 18:11:43.000000000 +0200 | ||
| 18 | @@ -2,7 +2,7 @@ | ||
| 19 | LD = ${CC} | ||
| 20 | CFLAGS ?= -g -Wall | ||
| 21 | LDFLAGS ?= -g | ||
| 22 | -DBUS_LIBS ?= -ldbus-1 | ||
| 23 | +DBUS_LIBS ?= `pkg-config dbus-1 --libs` | ||
| 24 | |||
| 25 | all: test_dhcp_options test_dhcdbd_state test_subscriber test_subscriber_dbus test_prospective_subscriber | ||
| 26 | |||
