termux-packages/packages/tinyscheme/makefile.patch
Fredrik Fornwall 362ea15214 Add tinyscheme
2016-01-31 09:29:07 -05:00

31 lines
632 B
Diff

diff -u -r ../tinyscheme-1.41/makefile ./makefile
--- ../tinyscheme-1.41/makefile 2013-04-14 16:08:33.000000000 -0400
+++ ./makefile 2016-01-24 18:02:10.122962806 -0500
@@ -18,7 +18,6 @@
#AR= echo
# Unix, generally
-CC = gcc -fpic -pedantic
DEBUG=-g -Wall -Wno-char-subscripts -O
Osuf=o
SOsuf=so
@@ -27,11 +26,8 @@
LIBPREFIX=lib
OUT = -o $@
RM= -rm -f
-AR= ar crs
# Linux
-LD = gcc
-LDFLAGS = -shared
DEBUG=-g -Wno-char-subscripts -O
SYS_LIBS= -ldl -lm
PLATFORM_FEATURES= -DSUN_DL=1
@@ -96,3 +92,6 @@
tags: TAGS
TAGS: $(TAGS_SRCS)
etags $(TAGS_SRCS)
+
+install: scheme
+ cp scheme @TERMUX_PREFIX@/bin/tinyscheme