Files
ports/shells/nu_plugin_query/Makefile
T
Jimmy Olgeni 68bbec1193 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
2026-07-13 00:17:28 +02:00

27 lines
676 B
Makefile

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
MAINTAINER= yuri@FreeBSD.org
COMMENT= Nushell plugin: Querying SQL, XML, JSON, HTML, and WebPage Metadata
WWW= https://www.nushell.sh/
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
.include <../nushell/Makefile.version>
.include <bsd.port.mk>