diff options
author | joerg <joerg> | 2016-06-19 23:00:30 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-06-19 23:00:30 +0000 |
commit | 04c2133a7a5bd286f9704019c2a2b6d4b8e26c66 (patch) | |
tree | 666380417968e8b5d8501a33adea60fe1190369f /devel | |
parent | b97c4958d1b7f17ab03bb846ab8539de1015897a (diff) | |
download | pkgsrc-04c2133a7a5bd286f9704019c2a2b6d4b8e26c66.tar.gz |
Workaround GNU ld bug on NetBSD by dropping --fatal-warnings from the
linker flags.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/kcoreaddons/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/kcoreaddons/Makefile b/devel/kcoreaddons/Makefile index e15bf1dbb9a..6fab0c85a3b 100644 --- a/devel/kcoreaddons/Makefile +++ b/devel/kcoreaddons/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/05/26 08:29:04 markd Exp $ +# $NetBSD: Makefile,v 1.2 2016/06/19 23:00:30 joerg Exp $ DISTNAME= kcoreaddons-${KF5VER} CATEGORIES= devel @@ -9,6 +9,14 @@ LICENSE= gnu-lgpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd .include "../../meta-pkgs/kf5/Makefile.common" +.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 tto it. +BUILDLINK_TRANSFORM+= rm:-Wl,--fatal-warnings +.endif .include "../../databases/shared-mime-info/buildlink3.mk" .include "../../mk/fam.buildlink3.mk" |