summaryrefslogtreecommitdiff
path: root/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'net/kea/files/patch-src-lib-dhcpsrv-Makefile.am')
-rw-r--r--net/kea/files/patch-src-lib-dhcpsrv-Makefile.am18
1 files changed, 7 insertions, 11 deletions
diff --git a/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am b/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am
index a7d91b92dd6e..1aa2fdfa84f0 100644
--- a/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am
+++ b/net/kea/files/patch-src-lib-dhcpsrv-Makefile.am
@@ -1,15 +1,11 @@
---- src/lib/dhcpsrv/Makefile.am.orig 2015-12-28 12:18:05 UTC
-+++ src/lib/dhcpsrv/Makefile.am
-@@ -2,10 +2,10 @@ AUTOMAKE_OPTIONS = subdir-objects
+--- src/lib/dhcpsrv/Makefile.am.orig 2019-09-07 13:00:43.923225000 -0500
++++ src/lib/dhcpsrv/Makefile.am 2019-09-07 13:02:13.215945000 -0500
+@@ -4,7 +4,7 @@
- SUBDIRS = . testutils tests
-
--dhcp_data_dir = @localstatedir@/@PACKAGE@
+ # DATA_DIR is the directory where to put default CSV files and the DHCPv6
+ # server ID file (i.e. the file where the server finds its DUID at startup).
+-dhcp_data_dir = @localstatedir@/lib/@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)\""
+ AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""