localstatedir is set to '/var/lib' in override_dh_auto_configure in
'debian/rules'

The attached patch solves that particular problem.

--- isc-kea-1.7.5.orig/src/lib/dhcpsrv/Makefile.am
+++ isc-kea-1.7.5/src/lib/dhcpsrv/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = . testutils tests benchmarks

 # 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@/@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)\

Reply via email to