From aea575ce76589e8bcdf16cb42e58017df088fbc2 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sat, 29 Jan 2000 22:36:06 +0000 Subject: Adding sash version 3.4. A Stand-Alone shell combining many common utilities. PR: 16309 Submitted by: Patrick Gardella --- shells/sash/files/patch-aa | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 shells/sash/files/patch-aa (limited to 'shells/sash/files/patch-aa') diff --git a/shells/sash/files/patch-aa b/shells/sash/files/patch-aa new file mode 100644 index 000000000000..2c4b0e4f9f10 --- /dev/null +++ b/shells/sash/files/patch-aa @@ -0,0 +1,41 @@ +--- Makefile.orig Sat Sep 25 01:21:56 1999 ++++ Makefile Sat Jan 22 21:52:23 2000 +@@ -5,13 +5,26 @@ + # The HAVE_EXT2 definition adds the -chattr and -lsattr comamnds. + # + +-CFLAGS = -O3 -Wall -Wmissing-prototypes -DHAVE_GZIP -DHAVE_EXT2 ++CFLAGS += -O2 -Wall -Wmissing-prototypes $(OPTS) + LDFLAGS = -static -s + LIBS = -lz + + +-BINDIR = /bin +-MANDIR = /usr/man/man1 ++## FreeBSD: add/remove components as needed. HAVE_EXT2 doesn't work ++## for us... ++OPTS+=-DHAVE_AR ++OPTS+=-DHAVE_DD ++OPTS+=-DHAVE_ED ++OPTS+=-DHAVE_FILE ++OPTS+=-DHAVE_FIND ++OPTS+=-DHAVE_GREP ++OPTS+=-DHAVE_GZIP ++OPTS+=-DHAVE_LS ++OPTS+=-DHAVE_TAR ++ ++ ++BINDIR = $(PREFIX)/bin ++MANDIR = $(PREFIX)/man/man1 + + + OBJS = sash.o cmds.o cmd_dd.o cmd_ed.o cmd_grep.o cmd_ls.o cmd_tar.o \ +@@ -20,6 +33,8 @@ + + sash: $(OBJS) + $(CC) $(LDFLAGS) -o sash $(OBJS) $(LIBS) ++ ++all: sash + + clean: + rm -f $(OBJS) sash -- cgit v1.2.3