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. --- usr.sbin/mailstats/Makefile | 6 ++++++ usr.sbin/makemap/Makefile | 6 ++++++ usr.sbin/praliases/Makefile | 6 ++++++ usr.sbin/sendmail/Makefile | 8 +++++++- 4 files changed, 25 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/mailstats/Makefile b/usr.sbin/mailstats/Makefile index 6a7520c..89806a0 100644 --- a/usr.sbin/mailstats/Makefile +++ b/usr.sbin/mailstats/Makefile @@ -19,4 +19,10 @@ 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} + .include diff --git a/usr.sbin/makemap/Makefile b/usr.sbin/makemap/Makefile index d92368c..bd2d8c6 100644 --- a/usr.sbin/makemap/Makefile +++ b/usr.sbin/makemap/Makefile @@ -27,4 +27,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMDB} ${LIBSMUTIL} LDADD+= ${LIBSMDB} ${LIBSMUTIL} +# User customizations to the sendmail build environment +CFLAGS+=${SENDMAIL_CFLAGS} +LDFLAGS+=${SENDMAIL_LDFLAGS} +LDADD+=${SENDMAIL_LDADD} +DPADD+=${SENDMAIL_DPADD} + .include diff --git a/usr.sbin/praliases/Makefile b/usr.sbin/praliases/Makefile index 57fbaa0..6b242a2 100644 --- a/usr.sbin/praliases/Makefile +++ b/usr.sbin/praliases/Makefile @@ -27,4 +27,10 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMDB} ${LIBSMUTIL} LDADD+= ${LIBSMDB} ${LIBSMUTIL} +# User customizations to the sendmail build environment +CFLAGS+=${SENDMAIL_CFLAGS} +LDFLAGS+=${SENDMAIL_LDFLAGS} +LDADD+=${SENDMAIL_LDADD} +DPADD+=${SENDMAIL_DPADD} + .include diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index 0eaa386..d6fa2924 100644 --- a/usr.sbin/sendmail/Makefile +++ b/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