Date: Wed, 2 Nov 2005 03:00:26 +0300 From: "Andrew P." <infofarmer@gmail.com> To: "Anthony M. Agelastos" <iqgrande@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: wrkdirprefix default? Message-ID: <cb5206420511011600h25295c4fi871ef031889cb186@mail.gmail.com> In-Reply-To: <17C40F0B-BCE0-4BC1-99CE-E6E62BA2D4DF@gmail.com> References: <17C40F0B-BCE0-4BC1-99CE-E6E62BA2D4DF@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/30/05, Anthony M. Agelastos <iqgrande@gmail.com> wrote: > Hello. > > Sometime back, I posted a message mentioning that I planned on > installing OpenOffice once it reached 2.0 status on my FreeBSD > machine using a nonstandard wrkdirprefix path (original email is > shown via the below link). > > http://www.freebsd.org/cgi/getmsg.cgi?fetch=3D184696+187981+/usr/local/ > www/db/text/2005/freebsd-questions/20050918.freebsd-questions > > One reply was that I can use > > env WRKDIRPREFIX=3D/myotherlocation make install > > This is fine for installing it, but I was wondering was there a good > way of modifying WRKDIRPREFIX to always point to this location only > for OpenOffice.org, that way I can use portupgrade in the future and > not have to worry about it? I am assuming the best way of dealing > with this is with the file /usr/local/etc/pkgtools.conf. assume that > I could put it inside of the MAKE_ARGS section. What is the most > optimal way of modifying this file for what I have mentioned above? I > have read the pkgtools.conf and ports manpages (and am still slightly > confused) and am running FreeBSD 5.4-STABLE. > > If the only way to do this is by modifying the variable on the whole > so everything is built elsewhere, I suppose that is alright as well. > If this is the only way, what is the preferred way of handling this? > Thank you all for your assistance. > > -Anthony > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > Yes, pkgtools.conf is one of the best ways to do this, MAKE_ARGS =3D { 'openoffice*' =3D> 'WRKDIRPREFIX=3D/mydir', } You can also read make manpage and test .CURDIR in /etc/make.conf, but that's not so neat.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420511011600h25295c4fi871ef031889cb186>