git: 41632ad650f0 - main - devel/aws-c-io: Port improvements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Sep 2022 20:25:01 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41632ad650f05412602e549f2d4ddbe33f8269a0
commit 41632ad650f05412602e549f2d4ddbe33f8269a0
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-09-15 17:23:23 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-09-15 20:24:45 +0000
devel/aws-c-io: Port improvements
- Define LICENSE_FILE
- Use ports framework for unit testing
- Use CMake helpers provided by framework
- Turn off BUILD_TESTING by default
- Bump PORTREVISION
---
devel/aws-c-io/Makefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/devel/aws-c-io/Makefile b/devel/aws-c-io/Makefile
index 697bf8cc73cd..7bf21b20f691 100644
--- a/devel/aws-c-io/Makefile
+++ b/devel/aws-c-io/Makefile
@@ -1,7 +1,7 @@
PORTNAME= aws-c-io
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= eduardo@FreeBSD.org
@@ -9,19 +9,21 @@ COMMENT= Event driven framework for implementing application protocols
WWW= https://github.com/awslabs/aws-c-io
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-common.so:devel/aws-c-common \
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 \
- -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>