muparser/muparser-destdir.patch

14 lines
722 B
Diff

--- Makefile.in
+++ Makefile.in
@@ -192,8 +192,8 @@
all: $(__muParser_lib___depname) $(__muParser_dll___depname) $(__example1___depname)
install: all $(__install_muParser_lib___depname) $(__install_muParser_lib_headers___depname) $(__install_muParser_dll___depname) $(__install_muParser_dll_headers___depname)
- $(INSTALL_DIR) $(libdir)/pkgconfig
- $(INSTALL_DATA) build/autoconf/muparser.pc $(libdir)/pkgconfig
+ $(INSTALL_DIR) $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL_DATA) build/autoconf/muparser.pc $(DESTDIR)$(libdir)/pkgconfig
uninstall: $(__uninstall_muParser_lib___depname) $(__uninstall_muParser_lib_headers___depname) $(__uninstall_muParser_dll___depname) $(__uninstall_muParser_dll_headers___depname)