pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/gvfs gvfs: Handle newer GCC and clang on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7870423a0b83
branches: trunk
changeset: 374950:7870423a0b83
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Feb 01 09:56:45 2018 +0000
description:
gvfs: Handle newer GCC and clang on SunOS.
diffstat:
sysutils/gvfs/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 9ad9dd5ace58 -r 7870423a0b83 sysutils/gvfs/Makefile
--- a/sysutils/gvfs/Makefile Thu Feb 01 09:40:13 2018 +0000
+++ b/sysutils/gvfs/Makefile Thu Feb 01 09:56:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2018/01/28 20:11:04 wiz Exp $
+# $NetBSD: Makefile,v 1.90 2018/02/01 09:56:45 jperkin Exp $
#
DISTNAME= gvfs-1.6.7
@@ -70,7 +70,11 @@
BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED
+.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*)
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
+.else
CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
+.endif
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.23.4
.include "../../devel/glib2/modules.mk"
Home |
Main Index |
Thread Index |
Old Index