git: 68bbec1193e1 - main - shells/nu_plugin_query: Declare libcurl shlib dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jul 2026 22:18:55 UTC
The branch main has been updated by olgeni:
URL: https://cgit.FreeBSD.org/ports/commit/?id=68bbec1193e165df151523a94ced86b47844c0e9
commit 68bbec1193e165df151523a94ced86b47844c0e9
Author: Jimmy Olgeni <olgeni@FreeBSD.org>
AuthorDate: 2026-05-05 17:09:13 +0000
Commit: Jimmy Olgeni <olgeni@FreeBSD.org>
CommitDate: 2026-07-12 22:17:28 +0000
shells/nu_plugin_query: Declare libcurl shlib dependency
The binary links libcurl.so.4 (via the curl-sys crate, which uses
pkg-config to pick up the system libcurl by default), but the port
does not declare the runtime dependency.
Detected by poudriere stage-qa:
Warning: nu_plugin_query-0.112.2_1 will be rebuilt as it misses
libcurl.so.4 which no dependency provides. It is likely (silently)
failing testport/stage-qa.
Add LIB_DEPENDS=libcurl.so:ftp/curl and bump PORTREVISION. Also
reorder PLIST_FILES ahead of OPENSSLINC/OPENSSLLIB to satisfy
portclippy.
Reviewed by: yuri
Differential Revision: https://reviews.freebsd.org/D56854
---
shells/nu_plugin_query/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/shells/nu_plugin_query/Makefile b/shells/nu_plugin_query/Makefile
index c74cc04e5838..694043f88bca 100644
--- a/shells/nu_plugin_query/Makefile
+++ b/shells/nu_plugin_query/Makefile
@@ -1,5 +1,6 @@
PORTNAME= nu_plugin_query
DISTVERSION= ${NUSHELL_VER}
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= https://crates.io/api/v1/crates/${PORTNAME}/${DISTVERSION}/download?dummy=/:main
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:main
@@ -12,12 +13,14 @@ LICENSE= MIT
BROKEN_FreeBSD_15_armv7= compilation fails, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282712
+LIB_DEPENDS= libcurl.so:ftp/curl
+
USES= cargo ssl
+PLIST_FILES= bin/${PORTNAME}
+
OPENSSLINC= /usr/include
OPENSSLLIB= /usr/lib
-PLIST_FILES= bin/${PORTNAME}
-
.include <../nushell/Makefile.version>
.include <bsd.port.mk>