aboutsummaryrefslogtreecommitdiff
path: root/databases/percona56-server
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-08-24 21:01:43 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-08-24 21:01:43 +0000
commitc61a5dfbdc55675260f94414cf58b9c33f6059d5 (patch)
treed36a4d0bf0f851e2b023de2d78b3702f217c4c24 /databases/percona56-server
parent288ec0edc35ee9a24bcfc33b235cb68a3a70cf53 (diff)
downloadports-c61a5dfbdc55675260f94414cf58b9c33f6059d5.tar.gz
ports-c61a5dfbdc55675260f94414cf58b9c33f6059d5.zip
percona56-client: Switch to USES=libedit.
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. Approved by: flo (maintainer) Differential Revision: https://reviews.freebsd.org/D3468
Notes
Notes: svn path=/head/; revision=395190
Diffstat (limited to 'databases/percona56-server')
-rw-r--r--databases/percona56-server/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/databases/percona56-server/Makefile b/databases/percona56-server/Makefile
index c5b4c7a2846a..8bea9a732a5f 100644
--- a/databases/percona56-server/Makefile
+++ b/databases/percona56-server/Makefile
@@ -87,8 +87,7 @@ post-install:
@${MKDIR} ${STAGEDIR}/var/db/mysql
.else
-BUILD_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit
-RUN_DEPENDS+= libedit>=0:${PORTSDIR}/devel/libedit
+USES+= libedit
.endif
post-patch: