From aec88ae72c50d7734c2719eb146f428438754dbe Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 22 Dec 2011 16:32:04 +0000 Subject: Make sure that printf format specifiers are defined for C++ code --- math/py-scipy/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'math') diff --git a/math/py-scipy/Makefile b/math/py-scipy/Makefile index 5dd9aed3720..095b24e48f7 100644 --- a/math/py-scipy/Makefile +++ b/math/py-scipy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/06/06 02:37:08 markd Exp $ +# $NetBSD: Makefile,v 1.8 2011/12/22 16:32:04 joerg Exp $ DISTNAME= scipy-0.7.2 PKGNAME= ${PYPKGPREFIX}-scipy-0.7.2 @@ -28,6 +28,8 @@ PYSETUPBUILDARGS+= --fcompiler=gnu95 BROKEN= Requires fortran 95 .endif +CPPFLAGS+= -D__STDC_FORMAT_MACROS + .include "../../lang/python/extension.mk" .include "../../math/fftw/buildlink3.mk" .include "../../math/py-numpy/buildlink3.mk" -- cgit v1.2.3