From 40920cdd1c5cabbf01302f6b15e7ce9d275dca47 Mon Sep 17 00:00:00 2001 From: schnoebe Date: Thu, 8 Nov 2012 22:11:22 +0000 Subject: -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 --- chat/gloox/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'chat/gloox') diff --git a/chat/gloox/Makefile b/chat/gloox/Makefile index 58617fad688..57ef7f41693 100644 --- a/chat/gloox/Makefile +++ b/chat/gloox/Makefile @@ -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 @@ USE_LIBTOOL= yes 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" -- cgit v1.2.3