pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/gvfs



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Feb  1 09:56:45 UTC 2018

Modified Files:
        pkgsrc/sysutils/gvfs: Makefile

Log Message:
gvfs: Handle newer GCC and clang on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 pkgsrc/sysutils/gvfs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/gvfs/Makefile
diff -u pkgsrc/sysutils/gvfs/Makefile:1.89 pkgsrc/sysutils/gvfs/Makefile:1.90
--- pkgsrc/sysutils/gvfs/Makefile:1.89  Sun Jan 28 20:11:04 2018
+++ pkgsrc/sysutils/gvfs/Makefile       Thu Feb  1 09:56:45 2018
@@ -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"



Home | Main Index | Thread Index | Old Index