summaryrefslogtreecommitdiff
path: root/graphics/py-cairo
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 16:53:38 +0000
committerhans <hans>2011-09-14 16:53:38 +0000
commita200475f899c2104931501cabc4aab5d82007cae (patch)
tree364893fe64c3d42be1966921bc1a9e7f6d1e53cc /graphics/py-cairo
parentdc18dfe86cbc5abf443f9a197a61e1b51f5a9fbf (diff)
downloadpkgsrc-a200475f899c2104931501cabc4aab5d82007cae.tar.gz
Fix build on SunOS.
Diffstat (limited to 'graphics/py-cairo')
-rw-r--r--graphics/py-cairo/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile
index 6f1a8e24eeb..8edb5cb2f66 100644
--- a/graphics/py-cairo/Makefile
+++ b/graphics/py-cairo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2011/02/25 09:47:23 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2011/09/14 16:55:10 hans Exp $
#
DISTNAME= py2cairo-1.8.10
@@ -28,7 +28,8 @@ PY_PATCHPLIST= yes
.include "../../mk/compiler.mk"
-.if !empty(CC_VERSION:Mgcc-2*)
+.if !empty(CC_VERSION:Mgcc-2*) || \
+ ${OPSYS} == "SunOS"
BUILDLINK_TRANSFORM+= rm:-std=c99
.endif