pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-scipy Make sure that printf format specifiers ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90f26b4ba7e8
branches:  trunk
changeset: 597408:90f26b4ba7e8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 16:32:04 2011 +0000

description:
Make sure that printf format specifiers are defined for C++ code

diffstat:

 math/py-scipy/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 52c969c06e60 -r 90f26b4ba7e8 math/py-scipy/Makefile
--- a/math/py-scipy/Makefile    Thu Dec 22 16:31:15 2011 +0000
+++ b/math/py-scipy/Makefile    Thu Dec 22 16:32:04 2011 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index