summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2000-09-17 00:41:33 +0000
committergshapiro <gshapiro@FreeBSD.org>2000-09-17 00:41:33 +0000
commit1f7ac54fbd544b90729437bc61f76addab082c01 (patch)
treeaf58a9af9d4cd2a6d511e3634e900e2dbb695f0c /secure
parente6283888c378965cfe51666cae94ca2b47308f7e (diff)
downloadFreeBSD-src-1f7ac54fbd544b90729437bc61f76addab082c01.zip
FreeBSD-src-1f7ac54fbd544b90729437bc61f76addab082c01.tar.gz
Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.sbin/sendmail/Makefile8
1 files changed, 7 insertions, 1 deletions
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
OpenPOWER on IntegriCloud