Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 16:49:04 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Andrew Boothman <andrew@ukug.uk.freebsd.org>
Cc:        questions@freebsd.org
Subject:   Re: Ports Distfiles
Message-ID:  <15154.27600.242086.673003@guru.mired.org>
In-Reply-To: <40396648@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Boothman <andrew@ukug.uk.freebsd.org> types:
> Hi!
> 
> I'm trying to install a port on a machine where I don't have access to the 
> root account. I know I can do
> 
> make WRKDIRPREFIX=~/ports/tmp PREFIX=~/ports
> 
> to have the port built in my home directory, but how do I tell make to look 
> somewhere other than /usr/ports/distfiles for the tar.gz file that contains 
> the port?

Use DISTDIR:

	make WRKDIRPREFIX=~/ports/tmp PREFIX=~/ports DISTDIR=~/ports/distfiles

This is documented in the make.conf man page.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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