Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 11:21:37 +0100
From:      Nils Vogels <nivo+sender+3564cf@yuckfou.org>
To:        freebsd-newbies@freebsd.org
Subject:   Re: different src dirctory question
Message-ID:  <401398B1.1020501@yuckfou.org>
In-Reply-To: <1075022577.4709.93.camel@papa.wdm.com>
References:  <1075022577.4709.93.camel@papa.wdm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
W.D.McKinney wrote:

>I am moving from Linux to FreeBSD on our servers. I would like to
>install MySQL on on a 4.9 system from ports. How do I tell the make
>commnad to put the src in /usr/local/src ? Something like :
>
># make --srcdest=/usr/local/src 
>  
>
Set the DISTDIR to another directory.

It defaults to ${PORTSDIR}/distfiles, but can be set to what you want.

In your case ..

# make DISTDIR=/usr/local/src

should do the trick.

HTH & HAND,

Nils.

-- 
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and 
dance like no one can see you.



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