mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Add (commented out) macros to make compiling with tcpwrappers easier.
This commit is contained in:
parent
73357bc9b4
commit
14710273ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29932
@ -21,7 +21,11 @@ DBMDEF= -DNEWDB
|
||||
# FreeBSD supports NIS
|
||||
NIS= -DNIS
|
||||
|
||||
CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} #-DNETISO
|
||||
# If you want tcp wrapper support, uncomment the following two lines
|
||||
#TCPWRAPPERSBASEDIR= /usr/local
|
||||
#TCPWRAPPERS= -DTCPWRAPPERS -I${TCPWRAPPERSBASEDIR}/include
|
||||
|
||||
CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} ${TCPWRAPPERS} #-DNETISO
|
||||
|
||||
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
|
||||
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
|
||||
@ -30,6 +34,9 @@ SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
|
||||
usersmtp.c util.c version.c
|
||||
DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
.if defined(TCPWRAPPERS)
|
||||
LDADD+= -L${TCPWRAPPERSBASEDIR}/lib -lwrap
|
||||
.endif
|
||||
MAN1= mailq.1 newaliases.1
|
||||
MAN5= aliases.5
|
||||
MAN8= sendmail.8
|
||||
|
Loading…
Reference in New Issue
Block a user