diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1999-01-20 21:59:09 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1999-01-20 21:59:09 +0000 |
commit | c615c436b34d8da10cd8c7e54046a87ddae6e813 (patch) | |
tree | acf60c4847af280a55fa318c2492a29584c27b62 | |
parent | 42cf14352d8f73211e9f61ae1cf524f6bfc8a588 (diff) | |
download | ports-c615c436b34d8da10cd8c7e54046a87ddae6e813.tar.gz ports-c615c436b34d8da10cd8c7e54046a87ddae6e813.zip |
Respect the value of ${PREFIX}.
Notes
Notes:
svn path=/head/; revision=16214
-rw-r--r-- | security/portsentry/files/patch-ac | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/security/portsentry/files/patch-ac b/security/portsentry/files/patch-ac index 58d6dcaa4aa5..954c7f399943 100644 --- a/security/portsentry/files/patch-ac +++ b/security/portsentry/files/patch-ac @@ -1,11 +1,16 @@ ---- sentry_config.h.orig Sat Dec 19 11:05:40 1998 -+++ sentry_config.h Sat Dec 19 11:05:52 1998 -@@ -32,7 +32,7 @@ +--- sentry_config.h.orig Thu May 28 22:24:11 1998 ++++ sentry_config.h Thu Jan 21 06:05:33 1999 +@@ -32,7 +32,12 @@ /* These are probably ok. Be sure you change the Makefile if you */ /* change the path */ -#define CONFIG_FILE "/usr/local/abacus/sentry.conf" -+#define CONFIG_FILE "/usr/local/etc/sentry.conf" ++/* Installation prefix */ ++#ifndef PREFIX ++#define PREFIX "/usr/local" ++#endif ++ ++#define CONFIG_FILE PREFIX"/etc/sentry.conf" /* The location of Wietse Venema's TCP Wrapper hosts.deny file */ #define WRAPPER_HOSTS_DENY "/etc/hosts.deny" |