Page MenuHomeFreeBSD

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

Authored by rakuco on Aug 24 2015, 11:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 20, 4:11 AM
Unknown Object (File)
Sat, Oct 12, 10:58 PM
Unknown Object (File)
Fri, Oct 4, 5:08 AM
Unknown Object (File)
Wed, Oct 2, 6:18 AM
Unknown Object (File)
Sep 24 2024, 9:32 AM
Unknown Object (File)
Sep 21 2024, 2:13 PM
Unknown Object (File)
Sep 17 2024, 6:33 AM
Unknown Object (File)
Sep 6 2024, 1:35 AM
Subscribers
None

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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 204
Build 204: arc lint + arc unit

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.