summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin/sendmail/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1999-03-28 10:55:03 +0000
committermarkm <markm@FreeBSD.org>1999-03-28 10:55:03 +0000
commit76ab29871cd71fc45f441549048d02039b063f33 (patch)
tree6fd11204ef4b8e9206394b33a9c5b439e0370fab /secure/usr.sbin/sendmail/Makefile
parentf15070b9aea1b418779b2ec9186b55362f8144d6 (diff)
downloadFreeBSD-src-76ab29871cd71fc45f441549048d02039b063f33.zip
FreeBSD-src-76ab29871cd71fc45f441549048d02039b063f33.tar.gz
Enable tcp_wrapper support by default.
Diffstat (limited to 'secure/usr.sbin/sendmail/Makefile')
-rw-r--r--secure/usr.sbin/sendmail/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/secure/usr.sbin/sendmail/Makefile b/secure/usr.sbin/sendmail/Makefile
index df6213e..9b2ac5e 100644
--- a/secure/usr.sbin/sendmail/Makefile
+++ b/secure/usr.sbin/sendmail/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.8 (Berkeley) 3/28/97
+# $Id$
SMDIR= ${.CURDIR}/../../contrib/sendmail/src
.PATH: ${SMDIR}
@@ -14,11 +15,7 @@ NIS= -DNIS
# Map extensions
MAPS= -DMAP_REGEX
-# If you want tcp wrapper support, uncomment the following two lines
-#TCPWRAPPERSBASEDIR= /usr/local
-#TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
-
-CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} ${MAPS}
+CFLAGS+=-I${SMDIR} ${DBMDEF} ${NIS} -DTCPWRAPPERS ${MAPS}
CFLAGS+=-D_FFR_MAX_MIME_HEADER_LENGTH
CFLAGS+=-D_FFR_MAX_HEADERS_LENGTH
@@ -27,11 +24,8 @@ SRCS= alias.c arpadate.c clock.c collect.c conf.c control.c convtime.c \
main.c map.c mci.c mime.c parseaddr.c queue.c readcf.c recipient.c \
safefile.c savemail.c snprintf.c srvrsmtp.c stab.c stats.c \
sysexits.c trace.c udb.c usersmtp.c util.c version.c
-DPADD= ${LIBUTIL}
-LDADD= -lutil
-.if defined(TCPWRAPPERS)
-LDADD+= -L${TCPWRAPPERSBASEDIR}/lib -lwrap
-.endif
+DPADD= ${LIBUTIL} ${LIBWRAP}
+LDADD= -lutil -lwrap
MAN1= mailq.1 newaliases.1
MAN5= aliases.5
MAN8= sendmail.8
OpenPOWER on IntegriCloud