Page MenuHomeFreeBSD

databases/percona56-client: Switch to USES=libedit.

Authored by rakuco on Aug 24 2015, 11:16 AM.
Referenced Files
Unknown Object (File)
Wed, May 31, 12:35 AM
Unknown Object (File)
Apr 26 2023, 4:19 AM
Unknown Object (File)
Apr 8 2023, 10:53 AM
Unknown Object (File)
Feb 7 2023, 3:35 PM
Unknown Object (File)
Jan 12 2023, 5:53 PM
Unknown Object (File)
Jan 10 2023, 9:28 AM
Unknown Object (File)
Jan 8 2023, 9:58 AM
Unknown Object (File)
Dec 28 2022, 11:58 PM



Instead of manually adding both a build- and a run-time dependency on libedit from ports, use USES=libedit instead. Not only does it take care of adding the proper dependency, but it also sets CMAKE_PREFIX_PATH to ${LOCALBASE} to make sure that the version in ports is preferred instead of the one in base.

This is a dependency for moving to CMake 3.3.x, as starting with 3.3.0 calls to find_library() will also look in the $PATH environment variable and end up finding libedit from base by default.

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

rakuco retitled this revision from to databases/percona56-server: Switch to USES=libedit..
rakuco updated this object.
rakuco edited the test plan for this revision. (Show Details)
rakuco added reviewers: flo, antoine.
rakuco retitled this revision from databases/percona56-server: Switch to USES=libedit. to databases/percona56-client: Switch to USES=libedit..Aug 24 2015, 11:18 AM
flo edited edge metadata.


This revision is now accepted and ready to land.Aug 24 2015, 6:52 PM
This revision was automatically updated to reflect the committed changes.