git: 5196c5b2f4a5 - main - security/aws-c-auth: Port improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 23:59:17 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5196c5b2f4a5517e3a202504fa356e008b92fdff
commit 5196c5b2f4a5517e3a202504fa356e008b92fdff
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-09-15 23:22:35 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-15 23:59:02 +0000
security/aws-c-auth: Port improvements
- Define LICENSE_FILE
- Use ports framework for unit testing
- Use CMake helpers provided by framework
- Not bumping PORTREVISION
---
security/aws-c-auth/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/security/aws-c-auth/Makefile b/security/aws-c-auth/Makefile
index 3f86c3b09453..eaa1a71d4161 100644
--- a/security/aws-c-auth/Makefile
+++ b/security/aws-c-auth/Makefile
@@ -9,6 +9,7 @@ COMMENT= C99 library implementation of AWS client-side authentication
WWW= https://github.com/awslabs/aws-c-auth
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-common.so:devel/aws-c-common \
@@ -18,14 +19,14 @@ LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-sdkutils.so:devel/aws-c-sdkutils \
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>