From: Christopher Howard Date: Wed, 9 May 2018 23:24:43 +0000 (-0800) Subject: Adds the patch to disable building the shared library. X-Git-Url: https://git.librecmc.org/?p=librecmc%2Fpackage-feed.git;a=commitdiff_plain;h=aad959f69d9cac4115a161b10f4c9e5c0167c506 Adds the patch to disable building the shared library. Building the shared library was broken for at least mips24_kc. Will need to do more work to get that included. --- diff --git a/lang/tinyscheme/Makefile b/lang/tinyscheme/Makefile index f07c8e4..b4a78dc 100644 --- a/lang/tinyscheme/Makefile +++ b/lang/tinyscheme/Makefile @@ -45,6 +45,7 @@ endef define Package/tinyscheme/description TinyScheme is a lightweight Scheme interpreter that implements as large a subset of R5RS as was possible without getting very large and complicated. + This package installs only the tinyscheme binary, not the shared library. endef define Build/Configure diff --git a/lang/tinyscheme/patches/001-makefile.patch b/lang/tinyscheme/patches/001-makefile.patch new file mode 100644 index 0000000..6417ca7 --- /dev/null +++ b/lang/tinyscheme/patches/001-makefile.patch @@ -0,0 +1,20 @@ +--- a/makefile 2013-04-14 12:08:33.000000000 -0800 ++++ a/makefile 2018-05-01 09:12:00.895474940 -0800 +@@ -34,7 +34,7 @@ + LDFLAGS = -shared + DEBUG=-g -Wno-char-subscripts -O + SYS_LIBS= -ldl -lm +-PLATFORM_FEATURES= -DSUN_DL=1 ++PLATFORM_FEATURES= -DSUN_DL=1 -DInitFile=\"/usr/lib/tinyscheme/init.scm\" + + # Cygwin + #PLATFORM_FEATURES = -DUSE_STRLWR=0 +@@ -68,7 +68,7 @@ + LIBTARGET = $(LIBPREFIX)tinyscheme.$(SOsuf) + STATICLIBTARGET = $(LIBPREFIX)tinyscheme.$(LIBsuf) + +-all: $(LIBTARGET) $(STATICLIBTARGET) scheme$(EXE_EXT) ++all: scheme$(EXE_EXT) + + %.$(Osuf): %.c + $(CC) -I. -c $(DEBUG) $(FEATURES) $(DL_FLAGS) $<