SOURCES: libxslt-plugin-regexp-DESTDIR.patch (NEW) - $DESTDIR support

glen glen at pld-linux.org
Thu Jan 24 19:18:54 CET 2008


Author: glen                         Date: Thu Jan 24 18:18:54 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- $DESTDIR support

---- Files affected:
SOURCES:
   libxslt-plugin-regexp-DESTDIR.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libxslt-plugin-regexp-DESTDIR.patch
diff -u /dev/null SOURCES/libxslt-plugin-regexp-DESTDIR.patch:1.1
--- /dev/null	Thu Jan 24 19:18:54 2008
+++ SOURCES/libxslt-plugin-regexp-DESTDIR.patch	Thu Jan 24 19:18:49 2008
@@ -0,0 +1,17 @@
+--- libxslt-plugin-regexp-0.5/Makefile.am~	2005-07-15 06:22:11.000000000 +0300
++++ libxslt-plugin-regexp-0.5/Makefile.am	2008-01-24 20:13:26.109577146 +0200
+@@ -15,7 +15,7 @@
+ 	xsltproc test.xsl test.xml > test.out
+ 
+ check: 
+-	@if test ! -f $(pkglibdir)/$(pkglib_LTLIBRARIES); then \
++	@if test ! -f $(DESTDIR)$(pkglibdir)/$(pkglib_LTLIBRARIES); then \
+   echo "You must install the plugin before running make check!"; \
+ 	exit 1; \
+ 	fi
+@@ -25,4 +25,4 @@
+ 
+ install-exec-hook:
+ # what's the right way to exclude .la files from installation? not sure...	
+-	@rm $(pkglibdir)/$(pkglib_LTLIBRARIES)
++	@rm $(DESTDIR)$(pkglibdir)/$(pkglib_LTLIBRARIES)
================================================================


More information about the pld-cvs-commit mailing list