aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libxslt/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libxslt/files')
-rw-r--r--recipes/libxslt/files/destdir.patch10
-rw-r--r--recipes/libxslt/files/pkgconfig_fix.patch22
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes/libxslt/files/destdir.patch b/recipes/libxslt/files/destdir.patch
new file mode 100644
index 0000000000..8df1b206bc
--- /dev/null
+++ b/recipes/libxslt/files/destdir.patch
@@ -0,0 +1,10 @@
+Index: libxslt-1.1.17/libxslt/Makefile.am
+===================================================================
+--- libxslt-1.1.17.orig/libxslt/Makefile.am 2005-10-02 11:25:21.000000000 +0200
++++ libxslt-1.1.17/libxslt/Makefile.am 2006-09-29 23:13:35.000000000 +0200
+@@ -61,4 +61,4 @@
+ @(cd ../xsltproc ; $(MAKE))
+
+ install-exec-hook:
+- $(mkinstalldirs) "$(libdir)/libxslt-plugins"
++ $(mkinstalldirs) "$(DESTDIR)$(libdir)/libxslt-plugins"
diff --git a/recipes/libxslt/files/pkgconfig_fix.patch b/recipes/libxslt/files/pkgconfig_fix.patch
new file mode 100644
index 0000000000..5e4a38f0b2
--- /dev/null
+++ b/recipes/libxslt/files/pkgconfig_fix.patch
@@ -0,0 +1,22 @@
+Index: libxslt-1.1.22/libexslt.pc.in
+===================================================================
+--- libxslt-1.1.22.orig/libexslt.pc.in 2008-03-19 16:52:20.000000000 +0000
++++ libxslt-1.1.22/libexslt.pc.in 2008-03-19 16:55:49.000000000 +0000
+@@ -8,5 +8,5 @@
+ Version: @LIBEXSLT_VERSION@
+ Description: EXSLT Extension library
+ Requires: libxml-2.0
+-Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@
++Libs: -lxslt @EXSLT_LIBDIR@ @M_LIBS@
+ Cflags: @EXSLT_INCLUDEDIR@
+Index: libxslt-1.1.22/libxslt.pc.in
+===================================================================
+--- libxslt-1.1.22.orig/libxslt.pc.in 2008-03-19 16:52:20.000000000 +0000
++++ libxslt-1.1.22/libxslt.pc.in 2008-03-19 16:55:38.000000000 +0000
+@@ -8,5 +8,5 @@
+ Version: @VERSION@
+ Description: XSLT library version 2.
+ Requires: libxml-2.0
+-Libs: @XSLT_LIBDIR@ @XSLT_LIBS@
++Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@
+ Cflags: @XSLT_INCLUDEDIR@