summaryrefslogtreecommitdiffstats
path: root/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am
blob: 5018de42f7d7d2857686f6dd09e4f71a7b2b642e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/lib/dhcpsrv/Makefile.am.orig	2015-07-23 16:45:11 UTC
+++ src/lib/dhcpsrv/Makefile.am
@@ -2,10 +2,10 @@ AUTOMAKE_OPTIONS = subdir-objects
 
 SUBDIRS = . testutils tests
 
-dhcp_data_dir = @localstatedir@/@PACKAGE@
+dhcp_data_dir = @localstatedir@/db/@PACKAGE@
 kea_lfc_location = @prefix@/sbin/kea-lfc
 
-AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""
+AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\"" -DKEA_PIDFILE_DIR="\"@localstatedir@/run\""
 AM_CPPFLAGS += -DTOP_BUILDDIR="\"$(top_builddir)\""
 # Set location of the kea-lfc binary.
 AM_CPPFLAGS += -DKEA_LFC_EXECUTABLE="\"$(kea_lfc_location)\""
OpenPOWER on IntegriCloud