From 1f7ac54fbd544b90729437bc61f76addab082c01 Mon Sep 17 00:00:00 2001 From: gshapiro Date: Sun, 17 Sep 2000 00:41:33 +0000 Subject: Give users a way to alter the sendmail (and related utilities) build environment so they can enable functionality such as SASL, LDAP, Hesiod. --- secure/usr.sbin/sendmail/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'secure') diff --git a/secure/usr.sbin/sendmail/Makefile b/secure/usr.sbin/sendmail/Makefile index 0eaa386..d6fa2924 100644 --- a/secure/usr.sbin/sendmail/Makefile +++ b/secure/usr.sbin/sendmail/Makefile @@ -28,7 +28,7 @@ SRCS= alias.c arpadate.c bf_torek.c clock.c collect.c conf.c control.c \ stab.c stats.c sysexits.c timers.c trace.c udb.c usersmtp.c util.c \ version.c DPADD= ${LIBUTIL} ${LIBWRAP} -LDADD+= -lutil -lwrap +LDADD= -lutil -lwrap MAN1= mailq.1 newaliases.1 MAN5= aliases.5 MAN8= sendmail.8 @@ -44,6 +44,12 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMUTIL} LDADD+= ${LIBSMUTIL} +# User customizations to the sendmail build environment +CFLAGS+=${SENDMAIL_CFLAGS} +LDFLAGS+=${SENDMAIL_LDFLAGS} +LDADD+=${SENDMAIL_LDADD} +DPADD+=${SENDMAIL_DPADD} + beforeinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/sendmail.st -- cgit v1.1