aboutsummaryrefslogtreecommitdiff
path: root/net/rwhoisd/files/patch-ac
diff options
context:
space:
mode:
authorJames FitzGibbon <jfitz@FreeBSD.org>1997-05-30 20:13:24 +0000
committerJames FitzGibbon <jfitz@FreeBSD.org>1997-05-30 20:13:24 +0000
commit16b58c70f39365b46f923a5b13fed4b8dbfbae58 (patch)
treee005cb5490bfb8737469131f0595e27c4e2bc92a /net/rwhoisd/files/patch-ac
parent3ee973c63bc80c07d7a21189640fc167ceb46856 (diff)
Import of the InterNIC's referral whois server and client
Notes
Notes: svn path=/head/; revision=6647
Diffstat (limited to 'net/rwhoisd/files/patch-ac')
-rw-r--r--net/rwhoisd/files/patch-ac31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/rwhoisd/files/patch-ac b/net/rwhoisd/files/patch-ac
new file mode 100644
index 000000000000..7832c52b13c2
--- /dev/null
+++ b/net/rwhoisd/files/patch-ac
@@ -0,0 +1,31 @@
+--- server/Makefile.in.orig Wed Sep 25 13:03:56 1996
++++ server/Makefile.in Fri May 9 22:48:56 1997
+@@ -7,14 +7,15 @@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = $(exec_prefix)/bin
++sbindir = $(exec_prefix)/sbin
+ etcdir = $(exec_prefix)/etc
+
+ # local libs/includes
+ COMMON_INC = -I../common
+ COMMON_LIBS = -L../common -lrwhois
+
+-WRAP_INC = -I../tools/tcpd_wrapper
+-WRAP_LIBS = -L../tools/tcpd_wrapper -lwrap
++WRAP_INC = -I${PREFIX}/include
++WRAP_LIBS = -L${PREFIX}/lib -lwrap
+
+ MKDB_INC = -I../mkdb
+ MKDB_LIBS = -L../mkdb -lmkdb
+@@ -77,8 +78,8 @@
+ $(CC) -c $(CFLAGS) $(LOCAL_INC) $*.c
+
+ install:
+- if [ ! -d $(etcdir) ]; then mkdir $(etcdir); fi
+- $(INSTALL) rwhoisd $(etcdir)
++ if [ ! -d $(sbindir) ]; then mkdir -p $(sbindir); fi
++ $(INSTALL) rwhoisd $(sbindir)
+
+ clean:
+ rm -f *.[oa]