From 6037a9582992351f4cdb3639b21fd1cb1e14b60c Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 12 Oct 2011 17:39:13 +0000 Subject: The previous build fix for SunOS was incomplete. Remove -ansi as it overrides -std=c99. --- wm/metacity/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'wm/metacity') diff --git a/wm/metacity/Makefile b/wm/metacity/Makefile index 745ce3cc734..51ffd50b424 100644 --- a/wm/metacity/Makefile +++ b/wm/metacity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.94 2011/09/14 17:50:16 hans Exp $ +# $NetBSD: Makefile,v 1.95 2011/10/12 17:39:13 hans Exp $ # DISTNAME= metacity-2.34.1 @@ -34,6 +34,10 @@ CONFIGURE_ARGS+= --disable-compositor .endif CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__ +.if ${OPSYS} == "SunOS" +BUILDLINK_TRANSFORM+= rm:-ansi +.endif + BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0 BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 -- cgit v1.2.3