pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/libesmtp
Module Name: pkgsrc
Committed By: tnn
Date: Sat Sep 16 12:47:45 UTC 2017
Modified Files:
pkgsrc/mail/libesmtp: Makefile
Log Message:
libesmtp: work around broken configure test for snprintf(3)
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/mail/libesmtp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/libesmtp/Makefile
diff -u pkgsrc/mail/libesmtp/Makefile:1.35 pkgsrc/mail/libesmtp/Makefile:1.36
--- pkgsrc/mail/libesmtp/Makefile:1.35 Wed Aug 16 20:45:40 2017
+++ pkgsrc/mail/libesmtp/Makefile Sat Sep 16 12:47:45 2017
@@ -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+= --disable-isoc
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