diff options
| author | Steve Price <steve@FreeBSD.org> | 2000-01-29 22:36:06 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 2000-01-29 22:36:06 +0000 |
| commit | aea575ce76589e8bcdf16cb42e58017df088fbc2 (patch) | |
| tree | 5ebabb9b375ea41ab2a1978f28a8d632adf40b3b /shells/sash/files/patch-aa | |
| parent | e3a63b2d1653ce58e8d8aec94469d0aab49ec745 (diff) | |
Adding sash version 3.4.
A Stand-Alone shell combining many common utilities.
PR: 16309
Submitted by: Patrick Gardella <patrick@freebsd.org>
Diffstat (limited to 'shells/sash/files/patch-aa')
| -rw-r--r-- | shells/sash/files/patch-aa | 41 |
1 files changed, 41 insertions, 0 deletions
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 |
