summaryrefslogtreecommitdiff
path: root/meta-pkgs/kf5
diff options
context:
space:
mode:
authorjoerg <joerg>2016-06-21 17:59:07 +0000
committerjoerg <joerg>2016-06-21 17:59:07 +0000
commitcffac4f05dec6a5f1bba8247b9a552d593634e2c (patch)
treeab8130da46f107b8691a9a75f0be3935dc55a813 /meta-pkgs/kf5
parent81d389322d97b23538d75e65ebf85ea8bdda4162 (diff)
downloadpkgsrc-cffac4f05dec6a5f1bba8247b9a552d593634e2c.tar.gz
Move --fatal-warnings hack to the common logic, it applies to
practically all KDE5 packages.
Diffstat (limited to 'meta-pkgs/kf5')
-rw-r--r--meta-pkgs/kf5/Makefile.common11
1 files changed, 10 insertions, 1 deletions
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