summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-09-06 11:45:26 +0200
committerSam James <sam@gentoo.org>2020-09-16 01:42:40 +0000
commitaba688c9974e4ab03b6c3eb23ca69eb5cf15c587 (patch)
tree6c58e92644eea12f4b89aa7c1f74893b3e6789e7 /dev-util/cgdb/files
parentdev-libs/girara: Version bump (v0.3.5) (diff)
downloadgentoo-aba688c9974e4ab03b6c3eb23ca69eb5cf15c587.tar.gz
gentoo-aba688c9974e4ab03b6c3eb23ca69eb5cf15c587.tar.bz2
gentoo-aba688c9974e4ab03b6c3eb23ca69eb5cf15c587.zip
dev-util/cgdb: respect AR, use eautoreconf for building
Eautoreconf ensures safe handling of the build scripts, so let's use that while setting AT_M4DIR to search for m4 files in the appropriate directory. Closes: https://bugs.gentoo.org/724256 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17435 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/cgdb/files')
-rw-r--r--dev-util/cgdb/files/cgdb-0.7.1-respect-AR.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/cgdb/files/cgdb-0.7.1-respect-AR.patch b/dev-util/cgdb/files/cgdb-0.7.1-respect-AR.patch
new file mode 100644
index 000000000000..e9837855ee3d
--- /dev/null
+++ b/dev-util/cgdb/files/cgdb-0.7.1-respect-AR.patch
@@ -0,0 +1,32 @@
+From: Jakov Smolic <jakov.smolic@sartura.hr>
+Date: Sun, 6 Sep 2020 11:33:02 +0200
+Subject: [PATCH] configure.init: respect AR
+Bug: https://bugs.gentoo.org/724256
+Patch taken from https://github.com/cgdb/cgdb/pull/142
+
+Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
+---
+ configure.init | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/configure.init b/configure.init
+index 920b2a3..d2f696d 100644
+--- a/configure.init
++++ b/configure.init
+@@ -13,6 +13,13 @@ AC_PROG_INSTALL
+ AC_PROG_RANLIB
+ AM_PROG_LEX
+ AC_PROG_YACC
++m4_ifndef([AC_PROG_AR],[dnl
++ AN_MAKEVAR([AR], [AC_PROG_AR])
++ AN_PROGRAM([ar], [AC_PROG_AR])
++ AC_DEFUN([AC_PROG_AR],
++ [AC_CHECK_TOOL(AR, ar, :)])
++])
++AC_PROG_AR
+
+ dnl determine if we are running in linux, cygwin, solaris, or freebsd
+ AC_CANONICAL_HOST
+--
+2.26.2
+