git: 551e01eece03 - main - devel/aws-sdk-cpp: Adopt/Update to 1.9.348

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 18 Sep 2022 21:14:56 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=551e01eece03e395b6e2b246e42ebba6651ed239

commit 551e01eece03e395b6e2b246e42ebba6651ed239
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-09-18 21:09:25 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-18 21:14:42 +0000

    devel/aws-sdk-cpp: Adopt/Update to 1.9.348
    
     - Use ninja build
     - Use CMake helpers
     - Pet portclippy
     - Pet portfmt
    
    ChangeLog: https://github.com/aws/aws-sdk-cpp/compare/1.9.328...1.9.348
---
 devel/aws-sdk-cpp/Makefile | 68 ++++++++++++++++++++++++----------------------
 devel/aws-sdk-cpp/distinfo |  6 ++--
 2 files changed, 38 insertions(+), 36 deletions(-)

diff --git a/devel/aws-sdk-cpp/Makefile b/devel/aws-sdk-cpp/Makefile
index 6b8511ad132b..8eb489e49b6f 100644
--- a/devel/aws-sdk-cpp/Makefile
+++ b/devel/aws-sdk-cpp/Makefile
@@ -1,62 +1,64 @@
 PORTNAME=	aws-sdk-cpp
-PORTVERSION=	1.9.328
-PORTREVISION=	1
+DISTVERSION=	1.9.348
 CATEGORIES=	devel
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	C++ interface for Amazon Web Services (AWS)
 WWW=		https://github.com/aws/aws-sdk-cpp
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_armv6=		fails to build: runaway process
-BROKEN_armv7=		fails to build: runaway process
-BROKEN_i386=		fails to build: compiler runs out of memory
-BROKEN_powerpc=		fails to build: compiler runs out of memory
+BROKEN_armv6=	fails to build: runaway process
+BROKEN_armv7=	fails to build: runaway process
+BROKEN_i386=	fails to build: compiler runs out of memory
+BROKEN_powerpc=	fails to build: compiler runs out of memory
 
-LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libpulse.so:audio/pulseaudio \
+LIB_DEPENDS=	libaws-c-auth.so:security/aws-c-auth \
+		libaws-c-cal.so:security/aws-c-cal \
 		libaws-c-common.so:devel/aws-c-common \
-		libaws-checksums.so:devel/aws-checksums \
+		libaws-c-compression.so:devel/aws-c-compression \
 		libaws-c-event-stream.so:devel/aws-c-event-stream \
-		libaws-crt-cpp.so:devel/aws-crt-cpp \
-		libaws-c-mqtt.so:devel/aws-c-mqtt \
-		libaws-c-s3.so:devel/aws-c-s3 \
-		libaws-c-auth.so:security/aws-c-auth \
 		libaws-c-http.so:devel/aws-c-http \
 		libaws-c-io.so:devel/aws-c-io \
-		libs2n.so:security/s2n-tls \
-		libaws-c-compression.so:devel/aws-c-compression \
-		libaws-c-cal.so:security/aws-c-cal \
+		libaws-c-mqtt.so:devel/aws-c-mqtt \
+		libaws-c-s3.so:devel/aws-c-s3 \
 		libaws-c-sdkutils.so:devel/aws-c-sdkutils \
-		libnghttp2.so:www/libnghttp2 \
-		libssh2.so:security/libssh2 \
+		libaws-checksums.so:devel/aws-checksums \
+		libaws-crt-cpp.so:devel/aws-crt-cpp \
+		libcurl.so:ftp/curl \
 		libdbus-1.so:devel/dbus \
-		libsndfile.so:audio/libsndfile \
 		libFLAC.so:audio/flac \
+		libnghttp2.so:www/libnghttp2 \
+		libogg.so:audio/libogg \
 		libopus.so:audio/opus \
-		libvorbis.so:audio/libvorbis \
-		libogg.so:audio/libogg
+		libpulse.so:audio/pulseaudio \
+		libs2n.so:security/s2n-tls \
+		libsndfile.so:audio/libsndfile \
+		libssh2.so:security/libssh2 \
+		libvorbis.so:audio/libvorbis
 
-USES=		cmake:noninja compiler:c++11-lib gettext-runtime localbase:ldflags \
+USES=		cmake compiler:c++11-lib gettext-runtime localbase:ldflags \
 		pkgconfig ssl xorg
-USE_XORG=	x11 xcb ice sm xtst xau xdmcp xext xi
+USE_GITHUB=	yes
+GH_ACCOUNT=	aws
+USE_LDCONFIG=	yes
+USE_XORG=	ice sm x11 xau xcb xdmcp xext xi xtst
+
+CMAKE_ARGS+=	-DBUILD_ONLY="${BUILD_ONLY}" \
+		-DCMAKE_INSTALL_LIBDIR=lib \
+		-DCMAKE_PREFIX_PATH=${LOCALBASE}
+CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	BUILD_DEPS
+
+CXXFLAGS+=	-Wno-error -Wno-c11-extensions
 
 BUILD_ONLY?=
 
 OPTIONS_DEFINE=	TEST
 OPTIONS_SUB=	yes
 
-TEST_CMAKE_OFF=	-DENABLE_TESTING=OFF
-
-CMAKE_ARGS+=	-DBUILD_DEPS=OFF -DBUILD_ONLY="${BUILD_ONLY}" \
-		-DCMAKE_PREFIX_PATH=${LOCALBASE} -DCMAKE_INSTALL_LIBDIR=lib
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	aws
-USE_LDCONFIG=	yes
-CXXFLAGS+=	-Wno-error -Wno-c11-extensions
+TEST_CMAKE_BOOL_OFF=	ENABLE_TESTING
 
 pre-everything::
 	@${ECHO_MSG}
diff --git a/devel/aws-sdk-cpp/distinfo b/devel/aws-sdk-cpp/distinfo
index f5bef8c2d511..0a819a774931 100644
--- a/devel/aws-sdk-cpp/distinfo
+++ b/devel/aws-sdk-cpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1661076139
-SHA256 (aws-aws-sdk-cpp-1.9.328_GH0.tar.gz) = 850c5aeda3e4e7111a66074624503ece6930a3df11197454d604bbf08622dbc8
-SIZE (aws-aws-sdk-cpp-1.9.328_GH0.tar.gz) = 43572950
+TIMESTAMP = 1663502873
+SHA256 (aws-aws-sdk-cpp-1.9.348_GH0.tar.gz) = 7fab7bde6011d62ca2ca500df5706630150d08770b9b3d4bee8a86a0d3d0de4c
+SIZE (aws-aws-sdk-cpp-1.9.348_GH0.tar.gz) = 43653079