Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 09:10:04 -0900
From:      "W.D.McKinney" <deem@wdm.com>
To:        freebsd-newbies@freebsd.org
Subject:   Re: different src dirctory question
Message-ID:  <1075054203.2350.107.camel@papa.wdm.com>
In-Reply-To: <401398B1.1020501@yuckfou.org>
References:  <1075022577.4709.93.camel@papa.wdm.com> <401398B1.1020501@yuckfou.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2004-01-25 at 01:21, Nils Vogels wrote:
> 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.

Hi Nils,

I tested on the logrotate package and it put the logrotate rpm it
downloaded in /usr/localsrc but the build directory went in ports ?
/usr/ports/sysutils/logrotate/work/logrotate-3.5.2

So It looks maybe I did not ask correctly.

How would I have made logrotate to be in 
/usr/local/src/logrotate-3.5.2 ?

Thanks,
Dee





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