summaryrefslogtreecommitdiff
path: root/wm/metacity
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-09-14 17:50:16 +0000
committerhans <hans@pkgsrc.org>2011-09-14 17:50:16 +0000
commite4e8bb128a36529f1dff3993d58ddb122a035f77 (patch)
tree6f2727b34747e1c50b4029a532ea23976c3913da /wm/metacity
parent1a9901b5d583dcf9ef7731d396f255f580d9e182 (diff)
downloadpkgsrc-e4e8bb128a36529f1dff3993d58ddb122a035f77.tar.gz
Fix build on SunOS.
Diffstat (limited to 'wm/metacity')
-rw-r--r--wm/metacity/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/wm/metacity/Makefile b/wm/metacity/Makefile
index 4cf5be5c99b..745ce3cc734 100644
--- a/wm/metacity/Makefile
+++ b/wm/metacity/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2011/07/13 20:06:15 drochner Exp $
+# $NetBSD: Makefile,v 1.94 2011/09/14 17:50:16 hans Exp $
#
DISTNAME= metacity-2.34.1
@@ -33,6 +33,8 @@ CONFIGURE_ARGS+= --disable-xinerama
CONFIGURE_ARGS+= --disable-compositor
.endif
+CFLAGS.SunOS+= -std=c99 -D__EXTENSIONS__
+
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0
BUILDLINK_API_DEPENDS.startup-notification+= startup-notification>=0.7