summaryrefslogtreecommitdiff
path: root/wm/metacity
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-12 17:39:13 +0000
committerhans <hans@pkgsrc.org>2011-10-12 17:39:13 +0000
commit6037a9582992351f4cdb3639b21fd1cb1e14b60c (patch)
treefdacced91edfac9858fa481839ebaf0632387093 /wm/metacity
parent4c248ce8863dc295a654da2f22c4508a012fdd95 (diff)
downloadpkgsrc-6037a9582992351f4cdb3639b21fd1cb1e14b60c.tar.gz
The previous build fix for SunOS was incomplete. Remove -ansi as it
overrides -std=c99.
Diffstat (limited to 'wm/metacity')
-rw-r--r--wm/metacity/Makefile6
1 files changed, 5 insertions, 1 deletions
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