From 634cd633629ad13698a7042e4ceac2e0c9b4d4a8 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 26 Nov 1999 22:59:22 +0000 Subject: socks support that should have gotten committed with the whois.c socks changes --- usr.bin/whois/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'usr.bin/whois') diff --git a/usr.bin/whois/Makefile b/usr.bin/whois/Makefile index 8ddf62321b2..15fbbd27514 100644 --- a/usr.bin/whois/Makefile +++ b/usr.bin/whois/Makefile @@ -1,5 +1,12 @@ -# $OpenBSD: Makefile,v 1.3 1997/09/21 11:52:04 deraadt Exp $ +# $OpenBSD: Makefile,v 1.4 1999/11/26 22:59:21 millert Exp $ PROG= whois +.if defined(SOCKS) +CFLAGS+=-DSOCKS +CFLAGS+=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten \ + -Daccept=Raccept -Drcmd=Rrcmd -Dbind=Rbind -Dselect=Rselect +LDADD+= -lsocks +.endif + .include -- cgit v1.2.3