pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/kcoreaddons



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Jun 19 23:00:30 UTC 2016

Modified Files:
        pkgsrc/devel/kcoreaddons: Makefile

Log Message:
Workaround GNU ld bug on NetBSD by dropping --fatal-warnings from the
linker flags.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/kcoreaddons/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/kcoreaddons/Makefile
diff -u pkgsrc/devel/kcoreaddons/Makefile:1.1 pkgsrc/devel/kcoreaddons/Makefile:1.2
--- pkgsrc/devel/kcoreaddons/Makefile:1.1       Thu May 26 08:29:04 2016
+++ pkgsrc/devel/kcoreaddons/Makefile   Sun Jun 19 23:00:30 2016
@@ -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 A
 
 .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"



Home | Main Index | Thread Index | Old Index