diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-05-17 19:50:39 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-05-17 19:50:39 +0000 |
commit | 1e63f2b921e48e2d03d3f8e6dad0653cb523862b (patch) | |
tree | 08254dcfa31ebd5a9b60a062ecbc1b3b3fd6e56d /net/proxy-suite | |
parent | cb8aed1bbf4f7b9c80c642947a8f2b25881f4986 (diff) | |
download | FreeBSD-ports-1e63f2b921e48e2d03d3f8e6dad0653cb523862b.zip FreeBSD-ports-1e63f2b921e48e2d03d3f8e6dad0653cb523862b.tar.gz |
fix path
PR: 27018
Submitted by: MAINTAINER
Diffstat (limited to 'net/proxy-suite')
-rw-r--r-- | net/proxy-suite/files/patch-etcdir | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/proxy-suite/files/patch-etcdir b/net/proxy-suite/files/patch-etcdir new file mode 100644 index 0000000..39f75b6 --- /dev/null +++ b/net/proxy-suite/files/patch-etcdir @@ -0,0 +1,26 @@ +diff -ur work/proxy-suite-1.7/ftp-proxy/Makefile.in new/proxy-suite-1.7/ftp-proxy/Makefile.in +--- work/proxy-suite-1.7/ftp-proxy/Makefile.in Fri Oct 22 11:29:01 1999 ++++ ftp-proxy/Makefile.in Wed May 2 01:07:28 2001 +@@ -44,7 +44,7 @@ + INSTALL= @INSTALL@ + + CC= @CC@ +-CFLAGS= @CFLAGS@ ++CFLAGS= @CFLAGS@ -DETC_PATH=\"$(ETC_DIR)/\" + LDFLAGS= @LDFLAGS@ + + LIBS= @LIB_WRAP@ @LIB_LDAP@ @LIB_REGEX@ @LIBS@ +diff -ur work/proxy-suite-1.7/ftp-proxy/ftp-main.c new/proxy-suite-1.7/ftp-proxy/ftp-main.c +--- work/proxy-suite-1.7/ftp-proxy/ftp-main.c Fri Oct 22 11:29:01 1999 ++++ ftp-proxy/ftp-main.c Wed May 2 01:03:58 2001 +@@ -75,7 +75,9 @@ + + #define SELECT_TIMEOUT 60 /* Wake up regularly */ + +-#define ETC_PATH "/etc/proxy-suite/" ++#if !defined (ETC_PATH) ++# define ETC_PATH "/etc/proxy-suite/" ++#endif + #define DEFAULT_CONFIG ETC_PATH "ftp-proxy.conf" + + #if defined(COMPILE_DEBUG) |