This patch installs the lib files for sigscheme (.scm files) in
/usr/share/sigscheme/lib instead of /usr/lib/sigscheme/lib.

If installed in another location, sigscheme can’t find them and
refuses to start.

Another way to tackle the problem would be to make sigscheme look
for the .scm files in /usr/lib/sigscheme (the trailinig /lib seems
more than a bit superfluous), but that would require patching
configure.ac, which is probably more trouble than it’s worth.

Signed-off-by: Andrea Bolognani <[email protected]>

---

diff -Naru sigscheme.orig/Makefile sigscheme/Makefile
--- sigscheme.orig/Makefile    2010-10-17 16:03:09.363200545 +0200
+++ sigscheme/Makefile  2010-10-17 15:34:55.065793071 +0200
@@ -39,8 +39,9 @@
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{gcroots,sscm}.so.* $(1)/usr/lib
 
-       $(INSTALL_DIR) $(1)/usr/share
-       $(CP) $(PKG_INSTALL_DIR)/usr/share/sigscheme/ $(1)/usr/lib
+       $(INSTALL_DIR) $(1)/usr/share/sigscheme/lib
+       $(CP) $(PKG_INSTALL_DIR)/usr/share/sigscheme/lib/* \
+               $(1)/usr/share/sigscheme/lib/
 
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/bin/sscm $(1)/usr/bin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to