aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-07 15:11:49 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-07 16:18:27 +0100
commitc7f8c1953e3384498e98c992b1f58c6329e499fb (patch)
tree876650bbb4ac0e3bf427bf724fa23af7e7604cae /testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch
parentb231d456ceca45c7befa2586d65281144ee20b3e (diff)
downloadaports-c7f8c1953e3384498e98c992b1f58c6329e499fb.tar.bz2
aports-c7f8c1953e3384498e98c992b1f58c6329e499fb.tar.xz
testing/kea: port debian patches fixing lockfile and pidfile locations
Diffstat (limited to 'testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch')
-rw-r--r--testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch b/testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch
new file mode 100644
index 0000000000..965c5e5829
--- /dev/null
+++ b/testing/kea/put-LOCKFILE_DIR-to-runstatedir.patch
@@ -0,0 +1,16 @@
+This patch is based on https://sources.debian.org/src/isc-kea/1.5.0-2/debian/patches/0005-Put-KEA_LOCKFILE_DIR-to-runstatedir.patch/
+
+We have to modify the autohelled Makefile.in instead of Makefile.am because Kea
+requires old automake-1.15.
+
+--- a/src/lib/log/interprocess/Makefile.in
++++ b/src/lib/log/interprocess/Makefile.in
+@@ -434,7 +434,7 @@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = . tests
+ AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib \
+- -DLOCKFILE_DIR=\"$(localstatedir)/run/$(PACKAGE_NAME)\" \
++ -DLOCKFILE_DIR=\"$(runstatedir)/$(PACKAGE_NAME)\" \
+ $(BOOST_INCLUDES)
+ AM_CXXFLAGS = $(KEA_CXXFLAGS)
+ CLEANFILES = *.gcno *.gcda