From cbb00b218333fce09e28a8e5eb8730c3945aeb71 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 8 Dec 2019 14:20:56 +0100 Subject: community/kea: move from testing --- community/kea/put-LOCKFILE_DIR-to-runstatedir.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/kea/put-LOCKFILE_DIR-to-runstatedir.patch (limited to 'community/kea/put-LOCKFILE_DIR-to-runstatedir.patch') diff --git a/community/kea/put-LOCKFILE_DIR-to-runstatedir.patch b/community/kea/put-LOCKFILE_DIR-to-runstatedir.patch new file mode 100644 index 00000000000..965c5e58299 --- /dev/null +++ b/community/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 -- cgit v1.2.3