Date: Sat, 9 Mar 2024 17:13:56 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2263f423e00c - main - www/llhttp: Add STATIC option Message-ID: <202403091713.429HDurW037226@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2263f423e00c9fb5dfb418b3f810b72edfd53e03 commit 2263f423e00c9fb5dfb418b3f810b72edfd53e03 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-09 17:11:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-09 17:13:13 +0000 www/llhttp: Add STATIC option PR: 277113 Submitted by: diizzy --- www/llhttp/Makefile | 8 +++++++- www/llhttp/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/www/llhttp/Makefile b/www/llhttp/Makefile index 60134d97f590..9085d26c699d 100644 --- a/www/llhttp/Makefile +++ b/www/llhttp/Makefile @@ -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> diff --git a/www/llhttp/pkg-plist b/www/llhttp/pkg-plist index a7277f5fdeb1..6d0b1781dd11 100644 --- a/www/llhttp/pkg-plist +++ b/www/llhttp/pkg-plist @@ -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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403091713.429HDurW037226>