Files
gentoo/dev-libs/isl/files/isl-0.24-gdb-autoload-dir.patch
Sam James d19a7f9d9b dev-libs/isl: respect CFLAGS
Drop the fun (and aggressive) AX_CC_MAXOPT macro call
which was causing us to not respect the user's CFLAGS.

Note that 0.24 seemed to be triggering maintainer mode;
have chucked eautoreconf into the ebuild for 0.24-r1
given it seemingly wasn't doing any harm to be doing
it informally in 0.24 anyway, but will keep an eye on
it.

Revbump because of the aforementioned churn in a
critical dependency.

Bug: https://bugs.gentoo.org/815700
Signed-off-by: Sam James <sam@gentoo.org>
2021-10-10 23:57:25 +01:00

36 lines
1.5 KiB
Diff

diff -Naur isl-0.19.orig/Makefile.in isl-0.19/Makefile.in
--- isl-0.19.orig/Makefile.in 2018-03-03 11:32:15.000000000 -0500
+++ isl-0.19/Makefile.in 2018-03-10 17:29:30.039182728 -0500
@@ -2269,10 +2269,10 @@
case $$libisl in \
'') echo Cannot find isl library name. GDB bindings not installed.;; \
*) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
+ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)"; \
$(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
+ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
esac
uninstall-local:
diff --git a/Makefile.am b/Makefile.am
index 96cac65..8bb6aa2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -639,10 +639,10 @@ install-data-local: $(srcdir)/libisl-gdb.py
case $$libisl in \
'') echo Cannot find isl library name. GDB bindings not installed.;; \
*) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
+ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)"; \
$(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
- $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
+ $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
esac
uninstall-local: