pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Move --fatal-warnings hack to the common logic, it app...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/34a49fe120a6
branches:  trunk
changeset: 348986:34a49fe120a6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jun 21 17:59:07 2016 +0000

description:
Move --fatal-warnings hack to the common logic, it applies to
practically all KDE5 packages.

diffstat:

 devel/kcoreaddons/Makefile    |  11 +----------
 meta-pkgs/kf5/Makefile.common |  11 ++++++++++-
 2 files changed, 11 insertions(+), 11 deletions(-)

diffs (47 lines):

diff -r 086d3f5ec166 -r 34a49fe120a6 devel/kcoreaddons/Makefile
--- a/devel/kcoreaddons/Makefile        Tue Jun 21 17:58:05 2016 +0000
+++ b/devel/kcoreaddons/Makefile        Tue Jun 21 17:59:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/06/20 05:54:55 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2016/06/21 17:59:07 joerg Exp $
 
 DISTNAME=      kcoreaddons-${KF5VER}
 CATEGORIES=    devel
@@ -9,15 +9,6 @@
 
 .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 to it.
-BUILDLINK_TRANSFORM+=  rm:-Wl,--fatal-warnings
-.endif
-
 .include "../../databases/shared-mime-info/buildlink3.mk"
 .include "../../mk/fam.buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
diff -r 086d3f5ec166 -r 34a49fe120a6 meta-pkgs/kf5/Makefile.common
--- a/meta-pkgs/kf5/Makefile.common     Tue Jun 21 17:58:05 2016 +0000
+++ b/meta-pkgs/kf5/Makefile.common     Tue Jun 21 17:59:07 2016 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index