summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-22 17:01:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-22 17:01:04 +0000
commitd8ab4b6082e45f27eab20a66b1077ed25bcc3a30 (patch)
treea5245b78e82a01f38afccdf764a5c7d5a3a78fb0
parentac08a07765b8c00c6b60da9aca504e95307da680 (diff)
Add -ULDAPMAP to CPPFLAGS so we can't inadvertanly build errstring.o with
ldap requirements in the milter.
-rw-r--r--gnu/usr.sbin/sendmail/libmilter/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/libmilter/Makefile b/gnu/usr.sbin/sendmail/libmilter/Makefile
index ff6edeaba1d..556a56d665a 100644
--- a/gnu/usr.sbin/sendmail/libmilter/Makefile
+++ b/gnu/usr.sbin/sendmail/libmilter/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2004/06/29 21:53:58 millert Exp $
+# $OpenBSD: Makefile,v 1.9 2004/12/22 17:01:03 millert Exp $
.include <bsd.own.mk>
@@ -20,7 +20,8 @@ DOCS= api.html design.html figure1.jpg figure2.jpg index.html \
MDOCDIR= ${DESTDIR}${DOCDIR}/html/milter
SRCS= main.c engine.c listener.c handler.c comm.c smfi.c signal.c \
sm_gethost.c errstring.c strl.c
-CPPFLAGS+= -D_FFR_MILTER_ROOT_UNSAFE -pthread -Dsm_snprintf=snprintf
+CPPFLAGS+= -D_FFR_MILTER_ROOT_UNSAFE -ULDAPMAP -pthread \
+ -Dsm_snprintf=snprintf
.PATH: ${.CURDIR}/../libsm
# Only build the .a version for now.