From owner-freebsd-questions@FreeBSD.ORG Sun Oct 30 03:18:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6860F16A41F for ; Sun, 30 Oct 2005 03:18:14 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9F2643D45 for ; Sun, 30 Oct 2005 03:18:13 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: by zproxy.gmail.com with SMTP id x3so664703nzd for ; Sat, 29 Oct 2005 20:18:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:to:message-id:content-type:from:subject:date:x-mailer; b=ezV7MH0R9GDmVQq2wBWI8mIAZVyRuXIk3ECk1qcGWytx3KcvvSxlZ1dim4FefB9E+KJgLisHNK+Xtd57SeRyYR4D7xPVhpqdFGU1BrOHPnmcczZsQ+y4L4MbWSmQRbHNo9IIVwvAeDX2lACuJSZ6B2r+mfGPyNQ4rys3Knqk5pQ= Received: by 10.36.71.4 with SMTP id t4mr1911418nza; Sat, 29 Oct 2005 20:18:13 -0700 (PDT) Received: from ?192.168.0.2? ( [24.98.225.185]) by mx.gmail.com with ESMTP id 15sm484028nzp.2005.10.29.20.18.11; Sat, 29 Oct 2005 20:18:13 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v734) To: freebsd-questions@freebsd.org Message-Id: <17C40F0B-BCE0-4BC1-99CE-E6E62BA2D4DF@gmail.com> From: "Anthony M. Agelastos" Date: Sat, 29 Oct 2005 23:18:09 -0400 X-Mailer: Apple Mail (2.734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: wrkdirprefix default? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 03:18:14 -0000 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=184696+187981+/usr/local/ www/db/text/2005/freebsd-questions/20050918.freebsd-questions One reply was that I can use env WRKDIRPREFIX=/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