summaryrefslogtreecommitdiff
path: root/wm/metacity/Makefile
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:50:16 +0000
committerhans <hans>2011-09-14 17:50:16 +0000
commitb862fd3cf7c96c2e0a01f3de5bb6d78a520323f2 (patch)
tree6f2727b34747e1c50b4029a532ea23976c3913da /wm/metacity/Makefile
parentd84f205ce023026e3b8f36e1f968358b5df712f0 (diff)
downloadpkgsrc-b862fd3cf7c96c2e0a01f3de5bb6d78a520323f2.tar.gz
Fix build on SunOS.
Diffstat (limited to 'wm/metacity/Makefile')
-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