pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-cairo Add untested patch by the maintainer...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed1401eddc16
branches:  trunk
changeset: 511843:ed1401eddc16
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 23 17:13:03 2006 +0000

description:
Add untested patch by the maintainer to fix build on 1.6.2.

diffstat:

 graphics/py-cairo/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r bd07f079c992 -r ed1401eddc16 graphics/py-cairo/Makefile
--- a/graphics/py-cairo/Makefile        Sun Apr 23 16:18:24 2006 +0000
+++ b/graphics/py-cairo/Makefile        Sun Apr 23 17:13:03 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index