Added a new patch to fix autotools

parent 316ff494
......@@ -21,6 +21,7 @@ imagination (3.4-1) unstable; urgency=medium
plugins now. Thanks!
- 20_fix-FTBFS-Makevars.patch: created to fix a FTBFS when running
dh_auto_test.
- 30_modernize-autotools.patch: added to fix some issues in autotools.
* debian/rules:
- Removed no longer needed addon autoreconf from dh.
- Removed no longer needed variable DEB_CFLAGS_MAINT_APPEND. The upstream
......
Description: fix some issues in autotools
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2019-03-01
Index: imagination/Makefile.am
===================================================================
--- imagination.orig/Makefile.am
+++ imagination/Makefile.am
@@ -8,7 +8,9 @@ EXTRA_DIST = \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
-
+
+ACLOCAL_AMFLAGS = -I m4
+
uninstall-local:
rm -rf $(DESTDIR)$(pkgdatadir);
Index: imagination/configure.ac
===================================================================
--- imagination.orig/configure.ac
+++ imagination/configure.ac
@@ -5,6 +5,8 @@ AC_INIT([imagination], [3.4],
AC_CONFIG_SRCDIR([src/imagination.h])
AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIRS([m4])
+
# Enable silent rules if supported
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
Index: imagination/src/Makefile.am
===================================================================
--- imagination.orig/src/Makefile.am
+++ imagination/src/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-INCLUDES = \
+AM_CPPFLAGS = \
$(DEVELOPMENT_CFLAGS) \
-DPACKAGE_LIB_DIR=\""$(libdir)"\" \
-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
15_add-keywords.patch
20_fix-FTBFS-Makevars.patch
30_modernize-autotools.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment