summaryrefslogtreecommitdiff
path: root/wm/metacity
diff options
context:
space:
mode:
authorhans <hans>2011-10-12 17:39:13 +0000
committerhans <hans>2011-10-12 17:39:13 +0000
commit2281449032460723ccc62fe2f53dc6854f06b4f2 (patch)
treefdacced91edfac9858fa481839ebaf0632387093 /wm/metacity
parent596e515371943a7539d5bed400065055f6d3e46d (diff)
downloadpkgsrc-2281449032460723ccc62fe2f53dc6854f06b4f2.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