Submitted By: Ken Moffat Date: 2012-01-07 Initial Package Version: 1.0.0 Upstream Status: unknown Origin: see below Description: Fixes symlinks on libmozjs185.so when DESTDIR is used, so that they do not point to the build tree. Rediffed to apply with -p1. # See discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=628723 # Patch created by Colin Walters diff -Naur js-1.8.5.orig/js/src/Makefile.in js-1.8.5/js/src/Makefile.in --- js-1.8.5.orig/js/src/Makefile.in 2011-03-31 20:08:36.000000000 +0100 +++ js-1.8.5/js/src/Makefile.in 2012-01-07 02:22:58.000000000 +0000 @@ -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))