diff options
author | wiz <wiz@pkgsrc.org> | 2006-04-23 17:13:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-04-23 17:13:03 +0000 |
commit | 092f1b46ff1be7dd1540b097cadf1e4efffa8c76 (patch) | |
tree | e97a0b31605ff780af6ebb32a326a4d43fcc0711 /graphics/py-cairo | |
parent | e89726e976b824731ed0b3ba0eb3310e8124310a (diff) | |
download | pkgsrc-092f1b46ff1be7dd1540b097cadf1e4efffa8c76.tar.gz |
Add untested patch by the maintainer to fix build on 1.6.2.
Diffstat (limited to 'graphics/py-cairo')
-rw-r--r-- | graphics/py-cairo/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile index eab4fdce3ff..a414121bf33 100644 --- a/graphics/py-cairo/Makefile +++ b/graphics/py-cairo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2006/04/17 13:46:15 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2006/04/23 17:13:03 wiz Exp $ # DISTNAME= pycairo-1.0.2 @@ -21,6 +21,12 @@ PKGCONFIG_OVERRIDE+= pycairo.pc.in PYTHON_VERSIONS_ACCEPTED= 24 23 PY_PATCHPLIST= yes +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc-2*) +BUILDLINK_TRANSFORM+= rm:-std=c99 +.endif + .include "../../lang/python/extension.mk" .include "../../math/py-Numeric/buildlink3.mk" .include "../../graphics/cairo/buildlink3.mk" |