From owner-freebsd-questions@FreeBSD.ORG Sun Jun 26 14:09:02 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 8056316A41C for ; Sun, 26 Jun 2005 14:09:02 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (sigma.octantis.com.au [207.44.188.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 331B643D1F for ; Sun, 26 Jun 2005 14:09:02 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 14646 invoked from network); 27 Jun 2005 00:09:01 +1000 Received: from unknown (HELO ?192.168.13.3?) (202.59.110.3) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Jun 2005 00:09:00 +1000 Message-ID: <42BEB6F0.5030803@meijome.net> Date: Mon, 27 Jun 2005 00:08:48 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vic FreeBSD References: <200506261542.50602.vdm.fbsd@virgilio.it> In-Reply-To: <200506261542.50602.vdm.fbsd@virgilio.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pkgtool.conf? 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, 26 Jun 2005 14:09:02 -0000 Vic FreeBSD wrote: > I need to compile some of my pet programs from the ports according to specific > configure options valid of course for each of them (I mean the options that > go with the "make" command). > Somewhere in the internet I read something about an /etc/pkgtool.conf allowing > those tailoring but looking for /etc/pkgtool.conf both in www.freebsd.org and > in the internet I could find pieces of rubbish only, it al seems to be > vanished. Ciao Vic, install either of the following ports: sysutils/portupgrade or sysutils/port-maintenance-tools (which is a meta port for portuprade and some of its friends). then you'll find /usr/local/etc/pkgtools.conf and a default conf too. I found it best to get all the right options I wanted for a port (or if i couldn't find exactly all the options I needed...) to run a make, select the options needed, accept, (then cancel if u want). The options u selected get saved in /var/db/ports/[PORT_NAME]/options . simply reformat the lines in the options file and put them in your pkgtools.conf and u're set. You should also pay special attention to the messages that are >>stdout when you start compiling,as they usually show you other useful options. BTW, I'm not 100% sure of this, but I think that pkgtools.conf is only read by the port* tools. so once you start using pkgtools.conf, you should install your ports with "portinstall section/port" rather than "cd section/port; make install". Good luck, Beto