diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-30 20:34:54 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-30 20:34:54 +0000 |
commit | b4bc14d8e54432215b34a5c6153b8194cf5a9711 (patch) | |
tree | 470092d9085dfe134f19390c8a64c792b5f1bc25 /sysutils/foremost/files | |
parent | 9c14a3d3a854d92d752a4bedca7b83c5081311fa (diff) |
Notes
Diffstat (limited to 'sysutils/foremost/files')
-rw-r--r-- | sysutils/foremost/files/patch-Makefile | 32 | ||||
-rw-r--r-- | sysutils/foremost/files/patch-foremost.h | 18 |
2 files changed, 0 insertions, 50 deletions
diff --git a/sysutils/foremost/files/patch-Makefile b/sysutils/foremost/files/patch-Makefile deleted file mode 100644 index 0d51f3c66b89..000000000000 --- a/sysutils/foremost/files/patch-Makefile +++ /dev/null @@ -1,32 +0,0 @@ ---- Makefile.orig Fri Jan 9 13:45:23 2004 -+++ Makefile Wed Jun 16 21:36:33 2004 -@@ -1,5 +1,5 @@ - --CC = gcc -+CC?= gcc - CC_OPTS = -Wall -O2 - GOAL = foremost - -@@ -14,8 +14,9 @@ - #--------------------------------------------------------------------- - - # Where foremost gets installed --BIN = /usr/local/bin --MAN = /usr/local/man/man1 -+PREFIX ?= /usr/local -+BIN = $(PREFIX)/bin -+MAN = $(PREFIX)/man/man1 - - # This should be commented out when debugging is done - #CC_OPTS += -D__DEBUG -ggdb -@@ -55,8 +56,8 @@ - $(CC) -o $(GOAL) $(OBJS) - - install: all -- install -CDm 755 $(GOAL) $(BIN)/$(GOAL) -- install -CDm 644 $(GOAL).1 $(MAN)/$(GOAL).1 -+ install -Cm 755 $(GOAL) $(BIN)/$(GOAL) -+ install -Cm 644 $(GOAL).1 $(MAN)/$(GOAL).1 - - uninstall: - rm -f $(BIN)/$(GOAL) $(MAN)/$(GOAL).1 diff --git a/sysutils/foremost/files/patch-foremost.h b/sysutils/foremost/files/patch-foremost.h deleted file mode 100644 index b60ca7b74002..000000000000 --- a/sysutils/foremost/files/patch-foremost.h +++ /dev/null @@ -1,18 +0,0 @@ ---- foremost.h.orig Fri Jan 9 13:45:23 2004 -+++ foremost.h Wed Jun 16 22:51:42 2004 -@@ -40,6 +40,7 @@ - #define strtoull strtoul - #include <sys/ttycom.h> - #include <sys/param.h> -+#include <libgen.h> /* for basename() */ - #endif /* ifdef __OPENBSD */ - - #ifdef __LINUX -@@ -178,7 +179,7 @@ - #define FOREMOST_NOEXTENSION '\xFF' - - #define FOREMOST_DEFAULT_WILDCARD '?' --#define FOREMOST_DEFAULT_CONFIG_FILE "foremost.conf" -+#define FOREMOST_DEFAULT_CONFIG_FILE "PREFIX/etc/foremost.conf" - - #define FOREMOST_DEFAULT_OUTPUT_DIR "foremost-output" |