aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2022-09-15 17:23:23 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2022-09-15 20:24:45 +0000
commit41632ad650f05412602e549f2d4ddbe33f8269a0 (patch)
tree032f09bccde98903a926c9947b9dbaf448f542be
parent300337f69391e25770b08695bcc215e7828876b3 (diff)
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
-rw-r--r--devel/aws-c-io/Makefile10
1 files 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>