Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2018 12:53:36 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474860 - in head/graphics: opencv opencv-core
Message-ID:  <201807181253.w6ICraWV069615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Jul 18 12:53:36 2018
New Revision: 474860
URL: https://svnweb.freebsd.org/changeset/ports/474860

Log:
  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>

Modified:
  head/graphics/opencv-core/Makefile   (contents, props changed)
  head/graphics/opencv/Makefile   (contents, props changed)

Modified: head/graphics/opencv-core/Makefile
==============================================================================
--- head/graphics/opencv-core/Makefile	Wed Jul 18 12:48:33 2018	(r474859)
+++ head/graphics/opencv-core/Makefile	Wed Jul 18 12:53:36 2018	(r474860)
@@ -1,7 +1,7 @@
 # Created by: Martin Matuska <mm@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-${OCV_SLAVE}
 
 COMMENT=	OpenCV core libraries

Modified: head/graphics/opencv/Makefile
==============================================================================
--- head/graphics/opencv/Makefile	Wed Jul 18 12:48:33 2018	(r474859)
+++ head/graphics/opencv/Makefile	Wed Jul 18 12:53:36 2018	(r474860)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807181253.w6ICraWV069615>