Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2017 16:22:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223735] LIB_DEPENDS should require the full path to the shared library when it is not immediately under lib/
Message-ID:  <bug-223735-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223735

            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@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: freebsd-ports-bugs@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=3DlibR.so:math/R

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

The latter statement should be used, because there is a possibility that ma=
ny
shared library files with the same name can be installed by the port. Frame=
work
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 und=
er
lib/:
> LIB_DEPENDS=3D${LOCALBASE}/full/path/to/libFoo.so:dir/portname

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223735-13>