From a9bb40fd2f34dd5ca6dfc784b2535338592e98e9 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 18 Aug 2004 16:55:21 +0000 Subject: [PATCH] The -D__FreeBSD__ must be -D__FreeBSD__=4 or sendmail will not be properly configured to use features like setproctitle(). --- usr.sbin/sendmail/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index 8db9745b27..5c1b7c1bed 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -1,6 +1,6 @@ # @(#)Makefile 8.8 (Berkeley) 3/28/97 # $FreeBSD: src/usr.sbin/sendmail/Makefile,v 1.15.2.13 2002/03/25 21:32:29 gshapiro Exp $ -# $DragonFly: src/usr.sbin/sendmail/Makefile,v 1.7 2004/07/23 18:15:08 drhodus Exp $ +# $DragonFly: src/usr.sbin/sendmail/Makefile,v 1.8 2004/08/18 16:55:21 dillon Exp $ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail SMDIR= ${SENDMAIL_DIR}/src @@ -35,7 +35,7 @@ CFLAGS+= -I${SMDIR} -I${SENDMAIL_DIR}/include -I. CFLAGS+= ${DBMDEF} ${NIS} -DMILTER -DNETINET6 -DTCPWRAPPERS ${MAPS} # Define __FreeBSD__ as is needed when building with gcc3. -CFLAGS+=-D__FreeBSD__ +CFLAGS+=-D__FreeBSD__=4 DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap -- 2.41.0