summaryrefslogtreecommitdiff
path: root/mail/dkim-milter
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-10-06 14:56:52 +0000
committerjoerg <joerg@pkgsrc.org>2008-10-06 14:56:52 +0000
commit1ca1255eede751bfb2e9b7ae8f33c53e4897b6bd (patch)
tree446b0367a4d4257c5071922566a7c5b93d0274ba /mail/dkim-milter
parent620f3014d81761dd7fb389c4ab992be7813ebd21 (diff)
downloadpkgsrc-1ca1255eede751bfb2e9b7ae8f33c53e4897b6bd.tar.gz
Fix build on NetBSD.
Diffstat (limited to 'mail/dkim-milter')
-rw-r--r--mail/dkim-milter/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/dkim-milter/Makefile b/mail/dkim-milter/Makefile
index 8b22a43dca8..7dae62ee852 100644
--- a/mail/dkim-milter/Makefile
+++ b/mail/dkim-milter/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/04/20 17:20:20 adrianp Exp $
+# $NetBSD: Makefile,v 1.16 2008/10/06 14:56:52 joerg Exp $
DISTNAME= dkim-milter-2.5.4
CATEGORIES= mail
@@ -53,6 +53,12 @@ CONF_FILES= ${EGDIR}/dkim-filter.conf.sample \
INSTALLATION_DIRS= share/doc/dkim-milter ${EGDIR} \
share/doc/dkim-milter/libdkim
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CPPFLAGS+= -DSM_CONF_STDBOOL_H=1
+.endif
+
post-extract:
${CP} ${WRKSRC}/site.config.m4.dist \
${WRKSRC}/devtools/Site/site.config.m4