Get path of extracted port

Sahil Tandon sahil at FreeBSD.org
Thu Nov 11 01:40:41 UTC 2010


On Thu, 2010-11-11 at 02:13:41 +0300, xpahos at gmail.com wrote:

> I'm trying to write Makefile for MySQL plugin. In make file I've added
> BUILD_DEPENDS directive:
> 
> BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/databases/mysql50-server:extract
> 
> How I can get directory path with sources of MySQL for using in ./configure?

There are a few ways; for example (and inspiration), see
devel/ruby-thrift and net/cvsupchk.

-- 
Sahil Tandon <sahil at FreeBSD.org>


More information about the freebsd-ports mailing list