pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/libesmtp libesmtp: work around broken configure t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/641bd51b1b11
branches: trunk
changeset: 368399:641bd51b1b11
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Sep 16 12:47:45 2017 +0000
description:
libesmtp: work around broken configure test for snprintf(3)
diffstat:
mail/libesmtp/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 5fb81eb3fe4e -r 641bd51b1b11 mail/libesmtp/Makefile
--- a/mail/libesmtp/Makefile Sat Sep 16 12:30:28 2017 +0000
+++ b/mail/libesmtp/Makefile Sat Sep 16 12:47:45 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2017/08/16 20:45:40 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2017/09/16 12:47:45 tnn Exp $
DISTNAME= libesmtp-1.0.6
PKGREVISION= 3
@@ -24,6 +24,11 @@
CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
.endif
+.if !empty(MACHINE_PLATFORM:M*)
+# assume all platforms have working snprintf these days.
+CPPFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index