From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 18:42:35 2003 Return-Path: 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 E42ED16A4CE for ; Fri, 19 Dec 2003 18:42:35 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 669E843D54 for ; Fri, 19 Dec 2003 18:42:34 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([69.160.69.113]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031220024233.TCYQ12043.mta10.adelphia.net@moo.holy.cow>; Fri, 19 Dec 2003 21:42:33 -0500 Received: by moo.holy.cow (Postfix, from userid 1001) id B56F2A540; Fri, 19 Dec 2003 21:46:59 -0500 (EST) Date: Fri, 19 Dec 2003 21:46:59 -0500 From: parv To: Alex Message-ID: <20031220024659.GA508@moo.holy.cow> Mail-Followup-To: Alex , Freebsd-questions@freebsd.org References: <44DB20F0-324C-11D8-B927-000A95775140@battleface.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44DB20F0-324C-11D8-B927-000A95775140@battleface.com> cc: Freebsd-questions@freebsd.org Subject: Re: mangling instant-workstation... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2003 02:42:36 -0000 in message <44DB20F0-324C-11D8-B927-000A95775140@battleface.com>, wrote Alex thusly... > > I want to use the instant-workstation port to package my setup and ... > However, there are many ports I want to set defines for (-D). How > can I do this with instant-workstation? I thought at one point > make.conf came into the picture. But I think I ran into name > collisions, so that was out. You would spam the heck out of /etc/make.conf if you use it for your stated purpose. As i see it, that file is best suited for system wide configuration, not per port. You may want to create Makefile.local in the ports' directories that will be/are installed by instant-workstation. Mind that not all ports respect/use Makefile.local. Other option would be to save various knobs & switches in pkgtools.conf, read/used by portupgrade, available in /usr/ports/sysutils. The best thing that could be done is by instant-workstation port itself, which would/should one allow to specify various ports' configurations. But then, the purpose of instant-workstation port, as i understand it, is to install various ports w/ minimum fuss. If it were too provide some sort of per port configuration tool, then you would be better off using portupgrade, in addition to, perhaps, (semi)automating the process yourself. - Parv --