summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Iooss2019-01-12 17:52:13 +0100
committerNicolas Iooss2019-01-12 17:52:13 +0100
commit4f9f1210f8254e9d8da5fbc38b93190934cffdf5 (patch)
tree2d66ff6a5259d6fba794046f8cf284e80ad0aacc
parentf4bc3f95cd2bc7f7094f7bf92af01df506b8c848 (diff)
downloadaur-4f9f1210f8254e9d8da5fbc38b93190934cffdf5.tar.gz
dbus-selinux: fix compatibility with autoconf-archive 1:2019.01.06-1
As this only fix the build process and would not modify the built programs and libraries, do not bump pkgrel.
-rw-r--r--PKGBUILD8
1 files changed, 8 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index addce779a2dc..719627c2df9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,6 +39,14 @@ prepare() {
printf '%s\n' >>Doxyfile.in \
HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
+ # Fix compatibility with autoconf-archive v2019.01.06
+ # https://gitlab.freedesktop.org/dbus/dbus/issues/249
+ echo 'm4_pattern_allow(AX_CHECK_GNU_MAKE_HEADLINE)' >> configure.ac
+
+ # Remove incompatible @CODE_COVERAGE_RULES@ from Makefiles
+ # Otherwise this macro is kept in generated Makefiles
+ sed 's/^@CODE_COVERAGE_RULES@$//' -i Makefile.am ./*/Makefile.am
+
NOCONFIGURE=1 ./autogen.sh
}