git: 944489d99271 - main - devel/aws-c-mqtt: Port improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 20:25:02 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=944489d9927176f153a6accb14a9258f97a09a56 commit 944489d9927176f153a6accb14a9258f97a09a56 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-09-15 17:37:31 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-09-15 20:24:45 +0000 devel/aws-c-mqtt: Port improvements - Define LICENSE_FILE - Use ports framework for unit testing - Use CMake helpers provided by framework - Not bumping PORTREVISION --- devel/aws-c-mqtt/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/devel/aws-c-mqtt/Makefile b/devel/aws-c-mqtt/Makefile index 328bab338524..c163ca0af3ae 100644 --- a/devel/aws-c-mqtt/Makefile +++ b/devel/aws-c-mqtt/Makefile @@ -9,6 +9,7 @@ COMMENT= C99 implementation of the MQTT 3.1.1 specification WWW= https://github.com/awslabs/aws-c-mqtt LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \ libaws-c-common.so:devel/aws-c-common \ @@ -17,15 +18,15 @@ LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \ libaws-c-io.so:devel/aws-c-io \ libs2n.so:security/s2n-tls -USES= cmake compiler:c11 ssl +USES= cmake:testing compiler:c11 ssl USE_GITHUB= yes GH_ACCOUNT= awslabs USE_LDCONFIG= yes -CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ - -DBUILD_TESTING=OFF \ - -DCMAKE_PREFIX_PATH=${LOCALBASE} +CMAKE_ARGS+= -DCMAKE_PREFIX_PATH=${LOCALBASE} +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= BUILD_TESTING .include <bsd.port.mk>