summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-22 16:32:04 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-22 16:32:04 +0000
commitaec88ae72c50d7734c2719eb146f428438754dbe (patch)
tree5d8f4ddef80ef919703d9c3ba13dc79a92b7ec1e /math
parent7d4c23dd05248edd0cd291ef3007054923370c24 (diff)
downloadpkgsrc-aec88ae72c50d7734c2719eb146f428438754dbe.tar.gz
Make sure that printf format specifiers are defined for C++ code
Diffstat (limited to 'math')
-rw-r--r--math/py-scipy/Makefile4
1 files changed, 3 insertions, 1 deletions
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"