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>
This commit is contained in:
parent
649f0708ce
commit
dedcf8f4b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474860
@ -1,7 +1,7 @@
|
||||
# Created by: Martin Matuska <mm@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PKGNAMESUFFIX= -${OCV_SLAVE}
|
||||
|
||||
COMMENT= OpenCV core libraries
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user