diff options
-rw-r--r-- | usr.bin/whois/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 <bsd.prog.mk> |