Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 21:01:44 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395190 - head/databases/percona56-server
Message-ID:  <201508242101.t7OL1ifb032639@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508242101.t7OL1ifb032639>