From 963b961dec683c26f9adf5001443e3a6a9bc92ce Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 18 Oct 2010 20:45:55 +0000 Subject: [PATCH] [package] change sigscheme lib installation directory 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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@23522 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/sigscheme/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/sigscheme/Makefile b/lang/sigscheme/Makefile index c7da7befa..7830e0490 100644 --- a/lang/sigscheme/Makefile +++ b/lang/sigscheme/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sigscheme PKG_VERSION:=0.8.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://sigscheme.googlecode.com/files/ @@ -39,8 +39,9 @@ define Package/sigscheme/install $(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 -- 2.11.0