diff options
author | joerg <joerg> | 2016-06-21 17:59:07 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-06-21 17:59:07 +0000 |
commit | cffac4f05dec6a5f1bba8247b9a552d593634e2c (patch) | |
tree | ab8130da46f107b8691a9a75f0be3935dc55a813 /meta-pkgs | |
parent | 81d389322d97b23538d75e65ebf85ea8bdda4162 (diff) | |
download | pkgsrc-cffac4f05dec6a5f1bba8247b9a552d593634e2c.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.common | 11 |
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 |