diff options
author | wiz <wiz> | 2006-04-23 17:13:03 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-04-23 17:13:03 +0000 |
commit | 43bb2e8a26d91986ba668f6feb1a2c47ffce4474 (patch) | |
tree | e97a0b31605ff780af6ebb32a326a4d43fcc0711 /graphics/py-cairo/Makefile | |
parent | 28da1c1839c88da49234cec7037a35f2306c3dd4 (diff) | |
download | pkgsrc-43bb2e8a26d91986ba668f6feb1a2c47ffce4474.tar.gz |
Add untested patch by the maintainer to fix build on 1.6.2.
Diffstat (limited to 'graphics/py-cairo/Makefile')
-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" |