Page MenuHomeFreeBSD

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

Authored by rakuco on Aug 24 2015, 11:16 AM.

Details

Summary

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

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit 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.

Approved.

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.