diff options
author | 2002-07-20 17:30:26 +0000 | |
---|---|---|
committer | 2002-07-20 17:30:26 +0000 | |
commit | 2f984c1b9610c9bab1e57b7b39cb6ba5047ab44a (patch) | |
tree | 28820a5e9d49ad3236027209547f62a4d91853d5 | |
parent | add flags to synopsis for isa. (diff) | |
download | wireguard-openbsd-2f984c1b9610c9bab1e57b7b39cb6ba5047ab44a.tar.xz wireguard-openbsd-2f984c1b9610c9bab1e57b7b39cb6ba5047ab44a.zip |
Fix up WANT_LIBMILTER stuff for people who want to use it; downsj@downsj.com
-rw-r--r-- | gnu/usr.sbin/sendmail/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.sbin/sendmail/Makefile.inc | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/Makefile b/gnu/usr.sbin/sendmail/Makefile index d0839ba9555..84e8c2475bb 100644 --- a/gnu/usr.sbin/sendmail/Makefile +++ b/gnu/usr.sbin/sendmail/Makefile @@ -1,8 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2001/09/11 19:02:47 millert Exp $ +# $OpenBSD: Makefile,v 1.5 2002/07/20 17:30:26 millert Exp $ # We only use these libs internally .if !make(install) SUBDIR= libsmutil libsmdb libsm +.if defined(WANT_LIBMILTER) +SUBDIR+= libmilter +.endif .else SUBDIR= .endif diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc index d8744a3d9c5..ea9eeeb65ef 100644 --- a/gnu/usr.sbin/sendmail/Makefile.inc +++ b/gnu/usr.sbin/sendmail/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.9 2002/01/21 00:44:06 hugh Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2002/07/20 17:30:26 millert Exp $ .include <bsd.own.mk> .include <bsd.obj.mk> @@ -46,6 +46,7 @@ LDFLAGS+=-L${.CURDIR}/../libsm .endif .if defined(WANT_LIBMILTER) +ENVDEF+=-DMILTER -D_FFR_MILTER_ROOT_UNSAFE LDADD+= -lmilter .if exists(${.CURDIR}/../libmilter/${__objdir}) DPADD+= ${.CURDIR}/../libmilter/${__objdir}/libmilter.a |