aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-08-25 05:01:43 +0800
committerrakuco <rakuco@FreeBSD.org>2015-08-25 05:01:43 +0800
commit43323f664de2b5e9b4fb5e449cf8314296f20046 (patch)
treed36a4d0bf0f851e2b023de2d78b3702f217c4c24 /databases
parent521a6151f52b284a96f1f93fd66fa892427a82f1 (diff)
downloadfreebsd-ports-gnome-43323f664de2b5e9b4fb5e449cf8314296f20046.tar.gz
freebsd-ports-gnome-43323f664de2b5e9b4fb5e449cf8314296f20046.tar.zst
freebsd-ports-gnome-43323f664de2b5e9b4fb5e449cf8314296f20046.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
Diffstat (limited to 'databases')
-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: