pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xkbcomp xkbcomp: restrict -Wno-error=string-compar...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41190e83abaa
branches: trunk
changeset: 411216:41190e83abaa
user: kamil <kamil%pkgsrc.org@localhost>
date: Sat Feb 08 09:16:56 2020 +0000
description:
xkbcomp: restrict -Wno-error=string-compare to clang
The original reproducer was on clang 10git rather than gcc.
diffstat:
x11/xkbcomp/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r b59fb00dc614 -r 41190e83abaa x11/xkbcomp/Makefile
--- a/x11/xkbcomp/Makefile Sat Feb 08 00:56:01 2020 +0000
+++ b/x11/xkbcomp/Makefile Sat Feb 08 09:16:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/02/06 11:24:20 kamil Exp $
+# $NetBSD: Makefile,v 1.20 2020/02/08 09:16:56 kamil Exp $
DISTNAME= xkbcomp-1.4.2
CATEGORIES= x11
@@ -16,7 +16,10 @@
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-error=string-compare
+.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index