-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
This commit is contained in:
schnoebe 2012-11-08 22:11:22 +00:00
parent 91a3e18925
commit a050f73859

View file

@ -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"