git: aac7641627c9 - main - security/aws-c-cal: Port improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 23:59:18 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=aac7641627c9af2ade6c3a4858a5efdfe287d9df commit aac7641627c9af2ade6c3a4858a5efdfe287d9df Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-09-15 23:31:44 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-09-15 23:59:02 +0000 security/aws-c-cal: Port improvements - Define LICENSE_FILE - Use ports framework for unit testing - Use CMake helpers provided by framework - Not bumping PORTREVISION --- security/aws-c-cal/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/security/aws-c-cal/Makefile b/security/aws-c-cal/Makefile index da33c369f36d..9d479bd83e1d 100644 --- a/security/aws-c-cal/Makefile +++ b/security/aws-c-cal/Makefile @@ -8,16 +8,17 @@ COMMENT= Aws Crypto Abstraction Layer WWW= https://github.com/awslabs/aws-c-cal LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaws-c-common.so:devel/aws-c-common -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_INSTALL_LIBDIR=${LOCALBASE}/lib +CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=${LOCALBASE}/lib +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= BUILD_TESTING .include <bsd.port.mk>