isl-0.07-gdb-autoload-dir.patch 809 B

123456789101112131415161718
  1. diff -Naur isl-0.19.orig/Makefile.in isl-0.19/Makefile.in
  2. --- isl-0.19.orig/Makefile.in 2018-03-03 11:32:15.000000000 -0500
  3. +++ isl-0.19/Makefile.in 2018-03-10 17:29:30.039182728 -0500
  4. @@ -2269,10 +2269,10 @@
  5. case $$libisl in \
  6. '') echo Cannot find isl library name. GDB bindings not installed.;; \
  7. *) echo $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
  8. - $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
  9. - test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \
  10. + $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
  11. + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)"; \
  12. $(INSTALL_DATA) $(srcdir)/libisl-gdb.py \
  13. - $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
  14. + $(DESTDIR)$(prefix)/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \
  15. esac
  16. uninstall-local: