pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libgnomeui libgnomeui: Extend _XOPEN_SOURCE work...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e564ba2437f
branches:  trunk
changeset: 374568:2e564ba2437f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 25 13:55:43 2018 +0000

description:
libgnomeui: Extend _XOPEN_SOURCE workaround to clang.

diffstat:

 devel/libgnomeui/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r fb4034d8f982 -r 2e564ba2437f devel/libgnomeui/Makefile
--- a/devel/libgnomeui/Makefile Thu Jan 25 13:47:22 2018 +0000
+++ b/devel/libgnomeui/Makefile Thu Jan 25 13:55:43 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.138 2017/11/23 17:19:41 wiz Exp $
+# $NetBSD: Makefile,v 1.139 2018/01/25 13:55:43 jperkin Exp $
 #
 
 DISTNAME=      libgnomeui-2.24.5
@@ -24,8 +24,8 @@
 
 .include "../../mk/compiler.mk"
 
-.if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc-[6-9]*)
-SUBST_CLASSES+=                xopen
+.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
+SUBST_CLASSES.SunOS+=  xopen
 SUBST_STAGE.xopen=     pre-configure
 SUBST_FILES.xopen=     libgnomeui/gnome-file-entry.c libgnomeui/gnome-client.c
 SUBST_FILES.xopen+=    libgnomeui/gnome-dateedit.c



Home | Main Index | Thread Index | Old Index