From owner-freebsd-newbies@FreeBSD.ORG Sun Jan 25 11:06:18 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61E0A16A4CE for ; Sun, 25 Jan 2004 11:06:18 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBE1143D1F for ; Sun, 25 Jan 2004 11:06:15 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 29561 invoked from network); 25 Jan 2004 19:06:14 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 25 Jan 2004 19:06:14 -0000 Date: Sun, 25 Jan 2004 21:07:49 +0200 From: Ion-Mihai Tetcu To: "W.D.McKinney" Message-Id: <20040125210749.3e1599e5@it.buh.cameradicommercio.ro> In-Reply-To: <1075054203.2350.107.camel@papa.wdm.com> References: <1075022577.4709.93.camel@papa.wdm.com> <401398B1.1020501@yuckfou.org> <1075054203.2350.107.camel@papa.wdm.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: different src dirctory question X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 19:06:18 -0000 On Sun, 25 Jan 2004 09:10:04 -0900 "W.D.McKinney" wrote: > 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 ? Take a look in /usr/ports/Mk/bsd.port.mk If I get you right (where you want the build to go) then you are after: # WRKDIRPREFIX - The place to root the temporary working directory # hierarchy (default: none). # WRKDIR - A temporary working directory that gets *clobbered* on clean # (default: ${WRKDIRPREFIX}${.CURDIR}/work). # WRKSRC - A subdirectory of ${WRKDIR} where the distribution actually # unpacks to. (Default: ${WRKDIR}/${DISTNAME} unless # NO_WRKSUBDIR is set, in which case simply ${WRKDIR}). If you want the port to install in another place the use PREFIX=my_place -- IOnut Unregistered ;) FreeBSD user