From owner-svn-ports-head@freebsd.org Mon Aug 24 21:01:44 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBECD9C16AF; Mon, 24 Aug 2015 21:01:44 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCDE112CB; Mon, 24 Aug 2015 21:01:44 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7OL1iMH032640; Mon, 24 Aug 2015 21:01:44 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7OL1ifb032639; Mon, 24 Aug 2015 21:01:44 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201508242101.t7OL1ifb032639@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Mon, 24 Aug 2015 21:01:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395190 - head/databases/percona56-server X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 21:01:44 -0000 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: