1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/shells/sash/files/patch-Makefile
2004-09-03 14:46:59 +00:00

39 lines
915 B
Plaintext

--- Makefile.orig Mon Jul 22 01:24:47 2002
+++ Makefile Fri Sep 3 14:53:40 2004
@@ -8,13 +8,13 @@
# The MOUNT_TYPE definition sets the default file system type for -mount.
#
HAVE_GZIP = 1
-HAVE_LINUX_ATTR = 1
-HAVE_LINUX_MOUNT = 1
-HAVE_BSD_MOUNT = 0
-MOUNT_TYPE = '"ext3"'
+HAVE_LINUX_ATTR = 0
+HAVE_LINUX_MOUNT = 0
+HAVE_BSD_MOUNT = 1
+MOUNT_TYPE = '"ufs"'
-CFLAGS = -O3 -Wall -Wmissing-prototypes \
+CFLAGS += -Wall -Wmissing-prototypes \
-DHAVE_GZIP=$(HAVE_GZIP) \
-DHAVE_LINUX_ATTR=$(HAVE_LINUX_ATTR) \
-DHAVE_LINUX_MOUNT=$(HAVE_LINUX_MOUNT) \
@@ -25,13 +25,14 @@
LIBS = -lz
-BINDIR = /bin
-MANDIR = /usr/man/man1
+BINDIR = $(PREFIX)/bin
+MANDIR = $(MANPREFIX)/man/man1
OBJS = sash.o cmds.o cmd_dd.o cmd_ed.o cmd_grep.o cmd_ls.o cmd_tar.o \
cmd_gzip.o cmd_find.o cmd_file.o cmd_chattr.o cmd_ar.o utils.o
+all: sash
sash: $(OBJS)
$(CC) $(LDFLAGS) -o sash $(OBJS) $(LIBS)