different src dirctory question

W.D.McKinney deem at wdm.com
Sun Jan 25 10:01:04 PST 2004


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





More information about the freebsd-newbies mailing list