[Bug 223735] LIB_DEPENDS should require the full path to the shared library when it is not immediately under lib/

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 18 16:22:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223735

            Bug ID: 223735
           Summary: LIB_DEPENDS should require the full path to the shared
                    library when it is not immediately under lib/
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at freebsd.org
                CC: freebsd-ports-bugs at FreeBSD.org

math/R installs the shared library lib/R/lib/libR.so

Currently, this statement is needed in order to depend on it:
> LIB_DEPENDS=libR.so:math/R

and this statement doesn't work:
> LIB_DEPENDS=R/lib/libR.so:math/R

The latter statement should be used, because there is a possibility that many
shared library files with the same name can be installed by the port. Framework
shouldn't make an assumption that there is only one fine with this name,
neither should it take liberty and always choose the first one.

Additionally, this statement should also work in case the library isn't under
lib/:
> LIB_DEPENDS=${LOCALBASE}/full/path/to/libFoo.so:dir/portname

Example: devel/rstudio (https://reviews.freebsd.org/D13139)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list