www/llhttp: Add STATIC option
PR: 277113 Submitted by: diizzy
This commit is contained in:
parent
03b2b1e625
commit
2263f423e0
|
@ -13,11 +13,17 @@ LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
|
|||
|
||||
USES= cmake cpe pathfix
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= nodejs
|
||||
|
||||
OPTIONS_DEFINE= STATIC
|
||||
OPTIONS_DEFAULT=STATIC
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
include/llhttp.h
|
||||
lib/cmake/llhttp/llhttp-config-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/llhttp/llhttp-config.cmake
|
||||
lib/libllhttp.a
|
||||
%%STATIC%%lib/libllhttp.a
|
||||
lib/libllhttp.so
|
||||
lib/libllhttp.so.9.2
|
||||
lib/libllhttp.so.%%PORTVERSION%%
|
||||
|
|
Loading…
Reference in New Issue