diff options
author | markd <markd@pkgsrc.org> | 2016-12-24 00:00:06 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2016-12-24 00:00:06 +0000 |
commit | 84eabfce8f58c024b5eafd5997bea75a68e09d17 (patch) | |
tree | be6dea3ee696af334d58edf7f03b5039551a53bc /graphics | |
parent | 4ab85baea190e591d3842c309dcac372df74dfe2 (diff) | |
download | pkgsrc-84eabfce8f58c024b5eafd5997bea75a68e09d17.tar.gz |
jasper fallout.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencv-contrib-face/Makefile | 5 | ||||
-rw-r--r-- | graphics/opencv/Makefile | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/graphics/opencv-contrib-face/Makefile b/graphics/opencv-contrib-face/Makefile index b3eef06a863..7793edf6017 100644 --- a/graphics/opencv-contrib-face/Makefile +++ b/graphics/opencv-contrib-face/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2016/03/29 10:08:08 markd Exp $ +# $NetBSD: Makefile,v 1.7 2016/12/24 00:00:06 markd Exp $ DISTNAME= opencv_contrib-3.1.0 PKGNAME= ${DISTNAME:S/_contrib/-contrib-face/} @@ -34,6 +34,9 @@ CMAKE_ARGS+= -D BUILD_DOCS=OFF CXXFLAGS+= -std=c++11 .endif +# jasper uses SIZE_MAX and friends in its headers. +CXXFLAGS+= -D__STDC_LIMIT_MACROS + CMAKE_ARGS+= -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib} CMAKE_ARGS.SunOS+= -DENABLE_PRECOMPILED_HEADERS=NO CMAKE_ARGS+= -DWITH_EIGEN=NO diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index b7c394750e9..4272d9741d5 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.64 2016/08/17 00:06:42 ryoon Exp $ +# $NetBSD: Makefile,v 1.65 2016/12/24 00:00:06 markd Exp $ DISTNAME= opencv-3.1.0 PKGREVISION= 2 @@ -42,6 +42,9 @@ CMAKE_ARGS+= -DWITH_EIGEN=NO CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} +# jasper uses SIZE_MAX and friends in its headers. +CXXFLAGS+= -D__STDC_LIMIT_MACROS + .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/jasper/buildlink3.mk" .include "../../graphics/libwebp/buildlink3.mk" |