pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/gloox -pedantic in gcc 4.5.3 (NetBSD 6) is less p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e72e3ba6e2e8
branches:  trunk
changeset: 610868:e72e3ba6e2e8
user:      schnoebe <schnoebe%pkgsrc.org@localhost>
date:      Thu Nov 08 22:11:22 2012 +0000

description:
-pedantic in gcc 4.5.3 (NetBSD 6) is less pedantic than
 in gcc 4.1.3 (NetBSD 5.*) aka, -pedantic causes build
 failures when including gnutls on older versions of gcc.

 Should clear up the build issues on NetBSD 5.x

diffstat:

 chat/gloox/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 4a88943eb531 -r e72e3ba6e2e8 chat/gloox/Makefile
--- a/chat/gloox/Makefile       Thu Nov 08 20:28:08 2012 +0000
+++ b/chat/gloox/Makefile       Thu Nov 08 22:11:22 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2012/10/03 00:02:36 asau Exp $
+# $NetBSD: Makefile,v 1.7 2012/11/08 22:11:22 schnoebe Exp $
 
 DISTNAME=              gloox-1.0
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            chat
 MASTER_SITES=          http://camaya.net/download/
 EXTRACT_SUFX=          .tar.bz2
@@ -19,6 +19,11 @@
 
 LIBS.SunOS+=           -lnsl
 
+# -pedantic in gcc 4.5.3 (NetBSD 6) is less pedantic than
+# in gcc 4.1.3 (NetBSD 5.*) aka, -pedantic causes build
+# failures when including gnutls on older versions of gcc.
+BUILDLINK_TRANSFORM+=   rm:-pedantic
+
 .include "options.mk"
 
 .include "../../devel/libidn/buildlink3.mk"



Home | Main Index | Thread Index | Old Index