diff options
author | hans <hans@pkgsrc.org> | 2011-09-14 16:53:38 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-09-14 16:53:38 +0000 |
commit | ad09963e4b0d0d2ba76d2d866b70a8050191b50c (patch) | |
tree | 364893fe64c3d42be1966921bc1a9e7f6d1e53cc /graphics/py-cairo | |
parent | f5bf7c20bbc8abda374df73e05c5452f98b31f47 (diff) | |
download | pkgsrc-ad09963e4b0d0d2ba76d2d866b70a8050191b50c.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'graphics/py-cairo')
-rw-r--r-- | graphics/py-cairo/Makefile | 5 |
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 |