summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorjoerg <joerg>2016-06-21 17:59:07 +0000
committerjoerg <joerg>2016-06-21 17:59:07 +0000
commit9b279a345256ba36aa9d7228abbbc750a7429b8b (patch)
treeab8130da46f107b8691a9a75f0be3935dc55a813 /meta-pkgs
parent478aa99985f5aeb5a16cedfb2ecad1434bd57b0a (diff)
downloadpkgsrc-9b279a345256ba36aa9d7228abbbc750a7429b8b.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