diff options
author | joerg <joerg@pkgsrc.org> | 2008-10-02 19:03:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-10-02 19:03:11 +0000 |
commit | 0ad79db6af98aaa0c2608a05c8d756254b05bb0b (patch) | |
tree | a2f1da160aad5b422a6ee4eaaf42c2643b5a3693 /mail/dk-milter | |
parent | 90b3cefa61b5f7c5977a9198b26347fe07dd238a (diff) | |
download | pkgsrc-0ad79db6af98aaa0c2608a05c8d756254b05bb0b.tar.gz |
Force use of stdbool.h on NetBSD, otherwise sm_debug_loadactive will be
defined with bool the first round and _Bool the second round.
Diffstat (limited to 'mail/dk-milter')
-rw-r--r-- | mail/dk-milter/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/dk-milter/Makefile b/mail/dk-milter/Makefile index 4f526de02e1..d98bd8b536b 100644 --- a/mail/dk-milter/Makefile +++ b/mail/dk-milter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2008/08/30 05:42:40 erh Exp $ +# $NetBSD: Makefile,v 1.17 2008/10/02 19:03:11 joerg Exp $ DISTNAME= dk-milter-0.3.0 PKGREVISION= 3 @@ -31,6 +31,12 @@ SUBST_MESSAGE.libs= Fixing makefile references. INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/dk-milter +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CPPFLAGS+= -DSM_CONF_STDBOOL_H=1 +.endif + post-extract: ${LN} -s FreeBSD ${WRKSRC}/devtools/OS/DragonFly |