[jhbuild] js185: Add patch to fix installation using DESTDIR



commit 702c8fc740fe2789ec8717ca65f9275b739691d4
Author: Colin Walters <walters verbum org>
Date:   Wed Jun 15 20:11:54 2011 -0400

    js185: Add patch to fix installation using DESTDIR

 modulesets/gnome-suites-core-deps-3.2.modules |    1 +
 patches/js185.destdir.patch                   |   16 ++++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.2.modules b/modulesets/gnome-suites-core-deps-3.2.modules
index c78c181..adb789e 100644
--- a/modulesets/gnome-suites-core-deps-3.2.modules
+++ b/modulesets/gnome-suites-core-deps-3.2.modules
@@ -915,6 +915,7 @@
 	    checkoutdir="js185-1.0.0"
 	    source-subdir="js/src"
 	    md5sum="a4574365938222adca0a6bd33329cb32" size="6164605">
+      <patch file="js185.destdir.patch" strip="0"/>
     </branch>
     <dependencies>
       <dep package="nspr"/>
diff --git a/patches/js185.destdir.patch b/patches/js185.destdir.patch
new file mode 100644
index 0000000..e28baed
--- /dev/null
+++ b/patches/js185.destdir.patch
@@ -0,0 +1,16 @@
+# See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=628723
+# Patch created by Colin Walters <walters verbum org>
+
+--- js/src/Makefile.in.orig	2011-06-15 19:40:27.447770306 -0400
++++ js/src/Makefile.in	2011-06-15 19:40:57.013770299 -0400
+@@ -888,8 +888,8 @@
+ ifeq (,$(HOST_BIN_SUFFIX))
+ 	mv -f $(SHLIB_ANY_VER) $(SHLIB_EXACT_VER)
+ 	@[ ! -h $(SHLIB_ABI_VER) ] || rm -f $(SHLIB_ABI_VER)
+-	ln -s $(SHLIB_EXACT_VER) $(SHLIB_ABI_VER)
+-	ln -s $(SHLIB_ABI_VER) $(SHLIB_ANY_VER)
++	ln -s $(notdir $(SHLIB_EXACT_VER)) $(SHLIB_ABI_VER)
++	ln -s $(notdir $(SHLIB_ABI_VER)) $(SHLIB_ANY_VER)
+ endif
+ endif
+ ifneq (,$(IMPORT_LIBRARY))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]