git: 2cdaceb37924 - main - graphics/opencv: Fix build with glog 0.5.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu May 20 16:15:31 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2cdaceb379244e0f304927e09d40061c67dc573d

commit 2cdaceb379244e0f304927e09d40061c67dc573d
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-20 16:14:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-20 16:14:20 +0000

    graphics/opencv: Fix build with glog 0.5.0
    
    PR:             255968
    Reported by:    thierry
---
 graphics/opencv/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index eed1a0e39bc9..29535274f366 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -61,6 +61,7 @@ CMAKE_OFF=	OPENCV_GENERATE_SETUPVARS \
 CMAKE_ARGS=	-DOPENCV_EXTRA_MODULES_PATH="${WRKSRC}/contrib/modules" \
 		-DOPENCV_PYTHON3_INSTALL_PATH=${PYTHON_SITELIBDIR} \
 		-DVULKAN_INCLUDE_DIRS=${LOCALBASE}/include
+LDFLAGS+=	-lglog
 
 DATADIR=	${PREFIX}/share/${PORTNAME}4
 


More information about the dev-commits-ports-all mailing list