summaryrefslogtreecommitdiff
path: root/devel/aws-c-http
diff options
context:
space:
mode:
Diffstat (limited to 'devel/aws-c-http')
-rw-r--r--devel/aws-c-http/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/devel/aws-c-http/Makefile b/devel/aws-c-http/Makefile
index 683f59f63990..b56bb2df343f 100644
--- a/devel/aws-c-http/Makefile
+++ b/devel/aws-c-http/Makefile
@@ -9,6 +9,7 @@ COMMENT= C99 implementation of the HTTP/1.1 and HTTP/2 specifications
WWW= https://github.com/awslabs/aws-c-http
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-common.so:devel/aws-c-common \
@@ -16,15 +17,15 @@ LIB_DEPENDS= libaws-c-cal.so:security/aws-c-cal \
libaws-c-io.so:devel/aws-c-io \
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>