=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/ftp/Makefile 1997/09/21 11:49:09 1.13 +++ src/usr.bin/ftp/Makefile 1997/10/02 04:22:39 1.14 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 1997/09/21 11:49:09 deraadt Exp $ +# $OpenBSD: Makefile,v 1.14 1997/10/02 04:22:39 imp Exp $ # Define SMALL to disable command line editing #CFLAGS+=-DSMALL @@ -6,9 +6,10 @@ # Uncomment the following to provide defaults for gate-ftp operation #CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21 -# Uncomment the following for socks5 support. -#CFLAGS += -DSOCKS -include /usr/local/include/socks.h -#LDADD += -lsocks5 +.if (defined(USE_SOCKS) && ${USE_SOCKS} == "YES") +CFLAGS += -DSOCKS -I/usr/local/include +LDADD += -lsocks5 +.endif PROG= ftp SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \