svn commit: r395190 - head/databases/percona56-server
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Aug 24 21:01:44 UTC 2015
Author: rakuco
Date: Mon Aug 24 21:01:43 2015
New Revision: 395190
URL: https://svnweb.freebsd.org/changeset/ports/395190
Log:
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
Modified:
head/databases/percona56-server/Makefile
Modified: head/databases/percona56-server/Makefile
==============================================================================
--- head/databases/percona56-server/Makefile Mon Aug 24 21:00:38 2015 (r395189)
+++ head/databases/percona56-server/Makefile Mon Aug 24 21:01:43 2015 (r395190)
@@ -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:
More information about the svn-ports-head
mailing list