diff options
author | swills <swills@FreeBSD.org> | 2018-07-18 20:53:36 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2018-07-18 20:53:36 +0800 |
commit | 94e622c711a76ace69d8ef21b266056670dc1dce (patch) | |
tree | da606ff8138a6207a4050bfdd3bbc69af98f501c /graphics/opencv | |
parent | cac254acd644bae096e33f81fc7a63614cd6df4b (diff) | |
download | freebsd-ports-gnome-94e622c711a76ace69d8ef21b266056670dc1dce.tar.gz freebsd-ports-gnome-94e622c711a76ace69d8ef21b266056670dc1dce.tar.zst freebsd-ports-gnome-94e622c711a76ace69d8ef21b266056670dc1dce.zip |
graphics/opencv-core: remove unneeded depends
opencv-core only needs protobuf to build and doesn't need tesseract at
all, so only add the LIB_DEPENDS when not building opencv-core
PR: 229800
Reported by: Ali Abdallah <aliovx@gmail.com>
Diffstat (limited to 'graphics/opencv')
-rw-r--r-- | graphics/opencv/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 40c5ddd19d31..2a51c94e2528 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -15,8 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= sparc64 NOT_FOR_ARCHS_REASON_sparc64= does not compile on sparc64 +.if defined(OCV_CORE) +BUILD_DEPENDS= protoc:devel/protobuf +.else LIB_DEPENDS= libprotobuf.so:devel/protobuf \ libtesseract.so:graphics/tesseract +.endif USES= cmake:outsource compiler:c++14-lang localbase:ldflags pkgconfig |