From nobody Sat Mar 9 17:13:56 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TsV4h6ZcWz5DZY1; Sat, 9 Mar 2024 17:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TsV4h56pBz43FV; Sat, 9 Mar 2024 17:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710004436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YcfLH9lRHIAXqfD97YpUQSUCESI0fwinvA55oDj3X8I=; b=n/Y07fehxNoMetEgIkX2N0ctOWVARoP76Orvgqd15ooOTGfnCivLan6fESgasM/GhtUpfS KNP231XDSWvSnpyr28b5JSP1GSjttXTSmtna5hkvE+gPvhSIFs7ECDMwNHV0DUUyBlZhHF zD0Z42thMuFAW54S4ZIxSZNfJvD7R7ZezG2nEeSrss2NG+6vvfc/cddCjlwbAXRwnl2/lc RArRUM9CBpQUw89pSZdDFefpVezmG4J2lBQaMy0PMPr2y7z3+inEWKbYHZZ7U7cZEKf9D7 PcU2cxoyM9LEq72yI+czCf9EcKXSlRAqFYoV9uMeeP4V5HgT7MMzK+75va07YA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710004436; a=rsa-sha256; cv=none; b=X2WGB4agQDWX/uUrQ+ULq+u9L3TpdNu1EkZSIa7btBxJ08n6CB6gFlHbbuyEJ2d1wvfPTL ZHnK44JU0A3GTw1aCaDl+TG9k5oeSJZhisICm2wGAcQHXT9XLp693uo6sZX2FuDk7xvyYX fPIVLxOGsQwLl1zxPJ3+E+ittitnuLArXqtBfykyFvdfXCQqxdAOE7BdlquJZzmuC98hpV vNSAtLiaTeXPHn/AS+6Wt+hJI9J4/QZlMx8B4sq//cvu8VWHcuBy7kiS5OC1AcLhnnfqX+ YgJA+5Q7zDQcefwH7cyXDnFnmEaoHWZqQ9pRiyENTe5jor34+uWvLnA78HglIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710004436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YcfLH9lRHIAXqfD97YpUQSUCESI0fwinvA55oDj3X8I=; b=Ql5WdR71gti68L/oBMFgBFZwgDBeEFLEmWZkDNh5qRXacXk6OBXsMFhb5ozk1wLfr6+VSK l4zf9/PTHYxfeKrmLpOiRnEvrfH+0i70f9AluiNDoW1FknnIU11t0GipUYi/wdEcjELa/I 3yN6CZ0Gh3j+vfzIPdyyI+2ZpS9V9ocpvYjmrtiSFgLop0R4F1X7g2FTWXlNuA/xiHJfQc AbAx+HNjiW7E8tT+T0ntlZGpb/ObKZdgWCsy+UtZKSfkwvXbwERTT0p5pHmT02WFaUFu8s LmPSeWvWQ4GepzXuWIgcL3RVRbVNXDR5SfQxzgFjcin6lb7SzvVjZRv3hPORfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TsV4h4hMjz19rq; Sat, 9 Mar 2024 17:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 429HDu7v037229; Sat, 9 Mar 2024 17:13:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 429HDurW037226; Sat, 9 Mar 2024 17:13:56 GMT (envelope-from git) Date: Sat, 9 Mar 2024 17:13:56 GMT Message-Id: <202403091713.429HDurW037226@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2263f423e00c - main - www/llhttp: Add STATIC option List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2263f423e00c9fb5dfb418b3f810b72edfd53e03 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2263f423e00c9fb5dfb418b3f810b72edfd53e03 commit 2263f423e00c9fb5dfb418b3f810b72edfd53e03 Author: Po-Chuan Hsieh AuthorDate: 2024-03-09 17:11:07 +0000 Commit: Po-Chuan Hsieh 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 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%%