aboutsummaryrefslogtreecommitdiff
path: root/devel/aws-crt-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/aws-crt-cpp')
-rw-r--r--devel/aws-crt-cpp/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/aws-crt-cpp/Makefile b/devel/aws-crt-cpp/Makefile
index 2392b3513bdb..1be42577a5d5 100644
--- a/devel/aws-crt-cpp/Makefile
+++ b/devel/aws-crt-cpp/Makefile
@@ -9,6 +9,7 @@ COMMENT= C++ wrapper around the aws-c libraries
WWW= https://github.com/awslabs/aws-crt-cpp
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libaws-c-auth.so:security/aws-c-auth \
libaws-c-cal.so:security/aws-c-cal \
@@ -23,16 +24,15 @@ LIB_DEPENDS= libaws-c-auth.so:security/aws-c-auth \
libaws-checksums.so:devel/aws-checksums \
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_DEPS=OFF \
- -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_DEPS BUILD_TESTING
.include <bsd.port.mk>