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 | fe52c2eb72cf18d7d1f6bea03a73eef58148d58b (patch) | |
tree | e97a0b31605ff780af6ebb32a326a4d43fcc0711 /graphics/py-cairo | |
parent | 757bf3a7f3ed686c9186c5cef748e757aa7b7fc2 (diff) | |
download | pkgsrc-fe52c2eb72cf18d7d1f6bea03a73eef58148d58b.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" |