diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-01-06 14:28:12 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-01-06 14:28:12 +0000 |
commit | a4dc096108eda1d47460f37aacd150b0ba3a3c6a (patch) | |
tree | baa56237f1d08b59ecfcc3f128733b78d13b0dad /graphics/opencv | |
parent | 04719b7e1b54e8eb2d48c498a01aeeb7a2b7a03e (diff) | |
download | pkgsrc-a4dc096108eda1d47460f37aacd150b0ba3a3c6a.tar.gz |
Disable precompiled headers on SunOS, it can cause problems. Fix ZLIB_ROOT
whilst here to correctly find the preferred zlib.
Diffstat (limited to 'graphics/opencv')
-rw-r--r-- | graphics/opencv/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 8b3063bd5c0..63736ad6c23 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.51 2014/11/30 02:31:22 markd Exp $ +# $NetBSD: Makefile,v 1.52 2015/01/06 14:28:12 jperkin Exp $ DISTNAME= opencv-2.4.9 PKGREVISION= 2 @@ -37,6 +37,10 @@ CHECK_WRKREF_SKIP= ${PREFIX}/lib/libopencv_core.* CXXFLAGS+= -std=c++11 .endif +OPSYSVARS+= CMAKE_ARGS +CMAKE_ARGS+= -DZLIB_ROOT=${BUILDLINK_PREFIX.zlib} +CMAKE_ARGS.SunOS+= -DENABLE_PRECOMPILED_HEADERS=NO + PLIST_VARS+= opencl .if ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" |