FreeBSD Bugzilla – Attachment 195175 Details for
Bug 229800
multimedia/ffmpeg dependency on opencv pulls the huge tesseract library and data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make opencv-core not depend on tesseract
opencv_tesseract.diff (text/plain), 936 bytes, created by
Steve Wills
on 2018-07-16 16:33:07 UTC
(
hide
)
Description:
Patch to make opencv-core not depend on tesseract
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2018-07-16 16:33:07 UTC
Size:
936 bytes
patch
obsolete
>diff --git graphics/opencv-core/Makefile graphics/opencv-core/Makefile >index f3931332ccb6..7ec85eab4d25 100644 >--- graphics/opencv-core/Makefile >+++ graphics/opencv-core/Makefile >@@ -1,7 +1,7 @@ > # Created by: Martin Matuska <mm@FreeBSD.org> > # $FreeBSD$ > >-PORTREVISION= 0 >+PORTREVISION= 1 > PKGNAMESUFFIX= -${OCV_SLAVE} > > COMMENT= OpenCV core libraries >diff --git graphics/opencv/Makefile graphics/opencv/Makefile >index 40c5ddd19d31..1610f82df4de 100644 >--- graphics/opencv/Makefile >+++ graphics/opencv/Makefile >@@ -15,8 +15,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE > NOT_FOR_ARCHS= sparc64 > NOT_FOR_ARCHS_REASON_sparc64= does not compile on sparc64 > >-LIB_DEPENDS= libprotobuf.so:devel/protobuf \ >- libtesseract.so:graphics/tesseract >+LIB_DEPENDS= libprotobuf.so:devel/protobuf >+.if !defined(OCV_CORE) >+LIB_DEPENDS+= libtesseract.so:graphics/tesseract >+.endif > > USES= cmake:outsource compiler:c++14-lang localbase:ldflags pkgconfig >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229800
:
195175
|
195208