pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gpgme Fix build under macOS Sierra and possib...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22414c4b0855
branches:  trunk
changeset: 366309:22414c4b0855
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Aug 10 18:49:17 2017 +0000

description:
Fix build under macOS Sierra and possibly older versions as well.

diffstat:

 security/gpgme/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b9a6782c9288 -r 22414c4b0855 security/gpgme/Makefile
--- a/security/gpgme/Makefile   Thu Aug 10 14:50:05 2017 +0000
+++ b/security/gpgme/Makefile   Thu Aug 10 18:49:17 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.82 2017/08/01 11:48:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.83 2017/08/10 18:49:17 tron Exp $
 
 DISTNAME=      gpgme-1.8.0
 PKGREVISION=   1
@@ -28,6 +28,7 @@
 SUBST_SED.pthread+=    -e 's,@PTHREAD_CFLAGS@,${PTHREAD_CFLAGS},g'
 SUBST_STAGE.pthread=   post-patch
 
+CPPFLAGS.Darwin=       -D_POSIX_C_SOURCE=200809L
 LIBS.SunOS+=           -lnsl -lsocket
 
 # getenv_r is not detected correctly. It will be found



Home | Main Index | Thread Index | Old Index