pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libdbusmenu-tools



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Dec 22 22:22:27 UTC 2019

Modified Files:
        pkgsrc/devel/libdbusmenu-tools: Makefile

Log Message:
Ignore deprecation with clang.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/libdbusmenu-tools/Makefile

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

Modified files:

Index: pkgsrc/devel/libdbusmenu-tools/Makefile
diff -u pkgsrc/devel/libdbusmenu-tools/Makefile:1.16 pkgsrc/devel/libdbusmenu-tools/Makefile:1.17
--- pkgsrc/devel/libdbusmenu-tools/Makefile:1.16        Wed Nov  6 14:34:30 2019
+++ pkgsrc/devel/libdbusmenu-tools/Makefile     Sun Dec 22 22:22:27 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/11/06 14:34:30 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2019/12/22 22:22:27 joerg Exp $
 
 PKGREVISION= 15
 .include "../../meta-pkgs/libdbusmenu/Makefile.common"
@@ -14,6 +14,12 @@ CONFIGURE_ARGS+=     --disable-introspection
 CONFIGURE_ARGS+=       --disable-vala
 CONFIGURE_ARGS+=       --enable-tests
 
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=       -Wno-deprecated-declarations
+.endif
+
 post-configure:
        ${LN} -sf ${BUILDLINK_DIR}/lib/libdbusmenu-glib.la \
                ${WRKSRC}/libdbusmenu-glib/



Home | Main Index | Thread Index | Old Index