From cffac4f05dec6a5f1bba8247b9a552d593634e2c Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 21 Jun 2016 17:59:07 +0000 Subject: Move --fatal-warnings hack to the common logic, it applies to practically all KDE5 packages. --- meta-pkgs/kf5/Makefile.common | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'meta-pkgs/kf5') diff --git a/meta-pkgs/kf5/Makefile.common b/meta-pkgs/kf5/Makefile.common index 9630b70ba08..64e96873360 100644 --- a/meta-pkgs/kf5/Makefile.common +++ b/meta-pkgs/kf5/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2016/05/25 23:13:12 markd Exp $ +# $NetBSD: Makefile.common,v 1.2 2016/06/21 17:59:07 joerg Exp $ # used by misc/attica-qt5/Makefile # used by sysutils/baloo5/Makefile # used by x11/frameworkintegration/Makefile @@ -78,3 +78,12 @@ CMAKE_ARGS+= -DKDE_INSTALL_SYSCONFDIR=${PKG_SYSCONFDIR:Q} pre-configure: ${MKDIR} ${WRKSRC}/_KDE_build + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" +# Work-around bad use-warning check in GNU ld 2.26 +# /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy. +# is triggered, even though the current linker output contains +# no references to it. +BUILDLINK_TRANSFORM+= rm:-Wl,--fatal-warnings +.endif -- cgit v1.2.3