pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/editors/mg editors/mg: Mask -Werror
details: https://anonhg.NetBSD.org/pkgsrc/rev/1f43870d4158
branches: trunk
changeset: 609849:1f43870d4158
user: marino <marino%pkgsrc.org@localhost>
date: Thu Oct 11 13:03:38 2012 +0000
description:
editors/mg: Mask -Werror
mg adds the -Werror flag after CFLAGS, so any suppressed warning gets
reenabled. Starting with gcc4.6, unused-but-set-variable warnings are
issued which breaks the build. Passing Wno-unused-but-set-variable by
the package makefile (as a function of compiler version) doesn't work.
The easiest solution is just to disable -Werror. In this case through
the makefile rather than updating a patch.
diffstat:
editors/mg/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 584784521db6 -r 1f43870d4158 editors/mg/Makefile
--- a/editors/mg/Makefile Thu Oct 11 12:24:25 2012 +0000
+++ b/editors/mg/Makefile Thu Oct 11 13:03:38 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/03 11:43:37 asau Exp $
+# $NetBSD: Makefile,v 1.6 2012/10/11 13:03:38 marino Exp $
#
DISTNAME= mg-20090107
@@ -17,5 +17,7 @@
CONFLICTS+= mg2a-[0-9]*
+BUILDLINK_TRANSFORM+= rm:-Werror
+
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index