[Bug 291053] devel/efivar: Fix rpath to load libefivar.so from the correct path

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Nov 2025 03:59:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291053

            Bug ID: 291053
           Summary: devel/efivar: Fix rpath to load libefivar.so from the
                    correct path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org
             Flags: maintainer-feedback?(decke@FreeBSD.org)
          Assignee: decke@FreeBSD.org

Created attachment 265462
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265462&action=edit
v1

Without specifying rpath, efivar will use /usr/lib/libefivar.so.1 first and
error out with:

ld-elf.so.1: /usr/lib/libefivar.so.1: version LIBEFIVAR_0.24 required by
/usr/local/bin/efivar not defined

-- 
You are receiving this mail because:
You are the assignee for the bug.