git: 058c43068e0a - main - science/libkml: Remove unneeded googletest

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:34:32 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=058c43068e0ae9065ab7dc09bc2675620c645185

commit 058c43068e0ae9065ab7dc09bc2675620c645185
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:27:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:27:09 +0000

    science/libkml: Remove unneeded googletest
    
    - Bump PORTREVISION for dependency change
    
    PR:             266043
    Reported by:    yuri
---
 science/libkml/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/science/libkml/Makefile b/science/libkml/Makefile
index e00e1e09bf2f..fa90705fd7d6 100644
--- a/science/libkml/Makefile
+++ b/science/libkml/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libkml
 PORTVERSION=	1.3.0
-PORTREVISION=	22
+PORTREVISION=	23
 CATEGORIES=	science
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -9,18 +9,17 @@ COMMENT=	Reference implementation of OGC KML 2.2
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	boost-libs>=1.44.0:devel/boost-libs \
-		googletest>=1.7.0:devel/googletest
+BUILD_DEPENDS=	boost-libs>=1.44.0:devel/boost-libs
 LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 		libexpat.so:textproc/expat2 \
-		libgtest.so:devel/googletest \
 		liburiparser.so:net/uriparser
 
 OPTIONS_DEFINE=	EXAMPLES
 
 USES=		cmake compiler:c11 minizip pathfix
 
-CMAKE_OFF=	WITH_JAVA WITH_PYTHON WITH_SWIG
+CMAKE_OFF=	BUILD_TESTING WITH_JAVA WITH_PYTHON WITH_SWIG
+CMAKE_ON=	BUILD_SHARED_LIBS
 USE_CXXSTD=	gnu++98
 USE_LDCONFIG=	yes