summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-06-21 17:59:07 +0000
committerjoerg <joerg@pkgsrc.org>2016-06-21 17:59:07 +0000
commitec41f9512ddf6937e502003a1292276bd4b5b7f9 (patch)
treea53d911fd4a7891a021223d18160a94e6efdefbd /meta-pkgs
parent71233d127b369118a154c0283de883934ec92265 (diff)
downloadpkgsrc-ec41f9512ddf6937e502003a1292276bd4b5b7f9.tar.gz
Move --fatal-warnings hack to the common logic, it applies to
practically all KDE5 packages.
Diffstat (limited to 'meta-pkgs')
-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