aports/unmaintained/foremost/foremost-makefile.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02:00

24 lines
792 B
Diff

--- a/Makefile 2008-10-14 02:09:13.000000000 +0200
+++ b/Makefile 2008-10-14 18:31:38.000000000 +0200
@@ -26,5 +26,5 @@
# Where we get installed
-BIN = /usr/local/bin
-MAN = /usr/share/man/man8
-CONF= /usr/local/etc
+BIN = $(DESTDIR)/usr/bin
+MAN = $(DESTDIR)/usr/share/man/man8
+CONF= $(DESTDIR)/etc
# Setup for compiling and cross-compiling for Windows
diff -uNr foremost-1.4.orig/config.c foremost-1.4/config.c
--- a/config.c 2006-08-31 17:50:47.000000000 +0100
+++ b/config.c 2006-08-31 17:51:09.000000000 +0100
@@ -288,7 +288,7 @@
#ifdef __WIN32
set_config_file(s, "/Program Files/foremost/foremost.conf");
#else
- set_config_file(s, "/usr/local/etc/foremost.conf");
+ set_config_file(s, "/etc/foremost.conf");
#endif
if ((f = fopen(get_config_file(s), "r")) == NULL)
{