summaryrefslogtreecommitdiff
path: root/mail/sendmail/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail/Makefile.common')
-rw-r--r--mail/sendmail/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/sendmail/Makefile.common b/mail/sendmail/Makefile.common
index 94aa805af9d..fdcf960f596 100644
--- a/mail/sendmail/Makefile.common
+++ b/mail/sendmail/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.54 2011/06/11 04:44:08 jnemeth Exp $
+# $NetBSD: Makefile.common,v 1.55 2012/03/12 12:53:12 fhajny Exp $
#
# used by mail/libmilter/Makefile
# used by mail/sendmail/Makefile
@@ -34,6 +34,10 @@ WRKSRC= ${WRKDIR}/sendmail-${DIST_VERS}
USE_TOOLS+= gm4
MAKE_ENV+= M4=${TOOLS_M4}
+.if ${OPSYS} == "SunOS" && exists(/usr/include/paths.h)
+CFLAGS+= -DSOLARIS_HAS_PATHS_H
+.endif
+
.PHONY: make-sendmail-siteconfig
make-sendmail-siteconfig:
${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG}