pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xkbcomp



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Feb  8 09:16:56 UTC 2020

Modified Files:
        pkgsrc/x11/xkbcomp: Makefile

Log Message:
xkbcomp: restrict -Wno-error=string-compare to clang

The original reproducer was on clang 10git rather than gcc.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/x11/xkbcomp/Makefile

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

Modified files:

Index: pkgsrc/x11/xkbcomp/Makefile
diff -u pkgsrc/x11/xkbcomp/Makefile:1.19 pkgsrc/x11/xkbcomp/Makefile:1.20
--- pkgsrc/x11/xkbcomp/Makefile:1.19    Thu Feb  6 11:24:20 2020
+++ pkgsrc/x11/xkbcomp/Makefile Sat Feb  8 09:16:56 2020
@@ -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 @@ PKGCONFIG_OVERRIDE=  xkbcomp.pc.in
 
 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