git: 81bfc9d8d06b - main - devel/aws-c-common: port improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 12:14:32 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=81bfc9d8d06bf0a384232ef5ba4a9fc42a7324d4 commit 81bfc9d8d06bf0a384232ef5ba4a9fc42a7324d4 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-09-15 12:06:09 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-09-15 12:14:18 +0000 devel/aws-c-common: port improvements - Define LICENSE_FILE - Use ports framework for unit testing - Use CMake helpers provided by framework - Remove unneeded CFLAGS+=-D__BSD_VISIBLE=1 since: ${WRKSRC}/source/posix/system_info.c: --- #if defined(__FreeBSD__) || defined(__NetBSD__) # define __BSD_VISIBLE 1 #endif --- - Not bumping PORTREVISION PR: 266405 --- devel/aws-c-common/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/devel/aws-c-common/Makefile b/devel/aws-c-common/Makefile index d9bf0347bfdc..a7097cd715e5 100644 --- a/devel/aws-c-common/Makefile +++ b/devel/aws-c-common/Makefile @@ -9,16 +9,15 @@ COMMENT= Core c99 package for AWS SDK for C WWW= https://github.com/awslabs/aws-c-common LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake compiler:c11 - +USES= cmake:testing compiler:c11 USE_GITHUB= yes GH_ACCOUNT= awslabs USE_LDCONFIG= yes -CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \ - -DBUILD_TESTING=OFF -CFLAGS+= -D__BSD_VISIBLE=1 +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= BUILD_TESTING .include <bsd.port.mk>