diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-02-01 09:56:45 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-02-01 09:56:45 +0000 |
commit | 7a85717744c417e0a14a9338427f29f9c19cbe0a (patch) | |
tree | 974d74862b6bcc88771f0053a5c85b0c838a3f6c /sysutils | |
parent | 400586a72e65556b3234ad9c6cfa085429da3bea (diff) | |
download | pkgsrc-7a85717744c417e0a14a9338427f29f9c19cbe0a.tar.gz |
gvfs: Handle newer GCC and clang on SunOS.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gvfs/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/gvfs/Makefile b/sysutils/gvfs/Makefile index 5bca9385557..b48248f8aeb 100644 --- a/sysutils/gvfs/Makefile +++ b/sysutils/gvfs/Makefile @@ -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 @@ CONFIGURE_ARGS+= --disable-fuse 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" |