File liquid-dsp-fix-destdir.diff of Package liquid-dsp
diff --git a/makefile.in b/makefile.in
index bdfe5c9..d476fb6 100644
--- a/makefile.in
+++ b/makefile.in
@@ -1218,9 +1218,9 @@ help:
install: all
@echo "installing..."
@echo ""
- mkdir -p $(DESTDIR)$(exec_prefix)$(libdir)
+ mkdir -p $(DESTDIR)$(libdir)
mkdir -p $(DESTDIR)$(prefix)/include/liquid
- install -m 644 -p ${ARCHIVE_LIB} ${SHARED_LIB} $(DESTDIR)$(exec_prefix)$(libdir)
+ install -m 644 -p ${ARCHIVE_LIB} ${SHARED_LIB} $(DESTDIR)$(libdir)
install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
@echo ""
@echo "---------------------------------------------------------"
@@ -1230,7 +1230,7 @@ install: all
@echo " libraries by running 'ldconfig' to make the shared"
@echo " object available. You might also need to modify your"
@echo " LD_LIBRARY_PATH environment variable to include the"
- @echo " directory $(DESTDIR)$(exec_prefix)"
+ @echo " directory $(DESTDIR)$(libdir)"
@echo ""
@echo " Please report bugs to $(BUGREPORT)"
@echo "---------------------------------------------------------"
@@ -1243,8 +1243,8 @@ install: all
uninstall:
@echo "uninstalling..."
$(RM) $(addprefix $(DESTDIR)$(prefix)/include/liquid/, $(headers_install))
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/${ARCHIVE_LIB}
- $(RM) $(DESTDIR)$(exec_prefix)$(libdir)/${SHARED_LIB}
+ $(RM) $(DESTDIR)$(libdir)/${ARCHIVE_LIB}
+ $(RM) $(DESTDIR)$(libdir)/${SHARED_LIB}
@echo "done."
##