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)
Mar 2 2024, 9:28 AM
Unknown Object (File)
Feb 18 2024, 8:26 AM
Unknown Object (File)
Feb 2 2024, 8:30 AM
Unknown Object (File)
Jan 11 2024, 3:54 PM
Unknown Object (File)
Dec 31 2023, 2:48 AM
Unknown Object (File)
Dec 29 2023, 7:45 PM
Unknown Object (File)
Dec 22 2023, 12:12 PM
Unknown Object (File)
Nov 21 2023, 1:03 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
Lint Not Applicable
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.