pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/dk-milter Force use of stdbool.h on NetBSD, other...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e10dc264f465
branches:  trunk
changeset: 547786:e10dc264f465
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Oct 02 19:03:11 2008 +0000

description:
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:

 mail/dk-milter/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r cd1e2ef4f5cc -r e10dc264f465 mail/dk-milter/Makefile
--- a/mail/dk-milter/Makefile   Thu Oct 02 18:48:31 2008 +0000
+++ b/mail/dk-milter/Makefile   Thu Oct 02 19:03:11 2008 +0000
@@ -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 @@
 
 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
 



Home | Main Index | Thread Index | Old Index