Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 19:45:39 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561253 - head/devel/aws-sdk-cpp
Message-ID:  <202101111945.10BJjduk040013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Jan 11 19:45:39 2021
New Revision: 561253
URL: https://svnweb.freebsd.org/changeset/ports/561253

Log:
  devel/aws-sdk-cpp: Update to 1.8.121
  
  Allow the user to build a custom list of clients.
  The plist file is auto-generated now to support custom builds.

Deleted:
  head/devel/aws-sdk-cpp/pkg-plist
Modified:
  head/devel/aws-sdk-cpp/Makefile
  head/devel/aws-sdk-cpp/distinfo

Modified: head/devel/aws-sdk-cpp/Makefile
==============================================================================
--- head/devel/aws-sdk-cpp/Makefile	Mon Jan 11 19:36:17 2021	(r561252)
+++ head/devel/aws-sdk-cpp/Makefile	Mon Jan 11 19:45:39 2021	(r561253)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	aws-sdk-cpp
-PORTVERSION=	1.8.68
+PORTVERSION=	1.8.121
 CATEGORIES=	devel
 
 MAINTAINER=	danilo@FreeBSD.org
@@ -20,25 +20,41 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libaws-checksums.so:devel/aws-checksums \
 		libaws-c-event-stream.so:devel/aws-c-event-stream
 
-USES=		cmake:noninja pkgconfig compiler:c++11-lib ssl
+USES=		cmake:noninja localbase:ldflags pkgconfig compiler:c++11-lib ssl
 
+BUILD_ONLY?=
+
 OPTIONS_DEFINE=	TEST
 OPTIONS_SUB=	yes
 
 TEST_CMAKE_OFF=	-DENABLE_TESTING=OFF
 
-CMAKE_ARGS+=	-DBUILD_DEPS=OFF
+CMAKE_ARGS+=	-DBUILD_DEPS=OFF -DBUILD_ONLY="${BUILD_ONLY}"
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	aws
 USE_LDCONFIG=	yes
 CXXFLAGS+=	-Wno-error -Wno-c11-extensions
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
+pre-everything::
+	@${ECHO_MSG}
+	@${ECHO_MSG} "You can build only the clients you need by defining the option BUILD_ONLY."
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Example:"
+	@${ECHO_MSG} "make BUILD_ONLY=\"s3;ec2;route53\""
+	@${ECHO_MSG}
+	@${ECHO_MSG} "For more information check the file ${WRKSRC}/Docs/CMake_Parameters.md"
+	@${ECHO_MSG}
+	@${ECHO_MSG} "If this option is not used, the package will be built with support for all the clients."
+	@${ECHO_MSG}
+
 post-patch:
 	${REINPLACE_CMD} -e "s,/pkgconfig,/../libdata/pkgconfig,g" \
 		${WRKSRC}/aws-cpp-sdk-core/CMakeLists.txt \
 		${WRKSRC}/cmake/utilities.cmake
+
+post-install:
+	@cd ${STAGEDIR}/${LOCALBASE} && \
+	${FIND} -s -d * -type f > ${TMPPLIST}
 
 .include <bsd.port.mk>

Modified: head/devel/aws-sdk-cpp/distinfo
==============================================================================
--- head/devel/aws-sdk-cpp/distinfo	Mon Jan 11 19:36:17 2021	(r561252)
+++ head/devel/aws-sdk-cpp/distinfo	Mon Jan 11 19:45:39 2021	(r561253)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602846358
-SHA256 (aws-aws-sdk-cpp-1.8.68_GH0.tar.gz) = 859659f14cf49d14c24d9c5a918a28fbcd126d43cb219902dfe60a1513fbb199
-SIZE (aws-aws-sdk-cpp-1.8.68_GH0.tar.gz) = 29619952
+TIMESTAMP = 1610096119
+SHA256 (aws-aws-sdk-cpp-1.8.121_GH0.tar.gz) = e2a903312edeae93132ef71ddd29492062a9a64d5d4dbefdb5d8cdbe2e0b1039
+SIZE (aws-aws-sdk-cpp-1.8.121_GH0.tar.gz) = 32562409



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