From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 10:56:23 2005 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 5411816A4CE for ; Fri, 28 Jan 2005 10:56:23 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CBD443D41 for ; Fri, 28 Jan 2005 10:56:22 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j0SAuKp1022585; Fri, 28 Jan 2005 12:56:20 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j0SAuKdU002184; Fri, 28 Jan 2005 12:56:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j0SAuKb5002183; Fri, 28 Jan 2005 12:56:20 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 28 Jan 2005 12:56:20 +0200 From: Giorgos Keramidas To: Nikolas Britton Message-ID: <20050128105620.GB1322@orion.daedalusnetworks.priv> References: <41F70EC3.5000805@nbritton.org> <20050126105241.GB829@orion.daedalusnetworks.priv> <41F9B325.6090309@nbritton.org> <20050128060956.GA1290@gothmog.gr> <41F9E960.6080102@nbritton.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41F9E960.6080102@nbritton.org> cc: freebsd-questions Subject: Re: Simple questions, MAKE_ARGS in pkgtools.conf 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: Fri, 28 Jan 2005 10:56:23 -0000 On 2005-01-28 01:27, Nikolas Britton wrote: >Giorgos Keramidas wrote: >> [snip stuff about MAKE_ARGS and /var/db/ports/*/options] >> >> Yes, options on the command line (i.e. those passed by portupgrade) will >> affect the way make builds the port _and_ will be saved by the ports >> infrastructure in /var/db/ports. > > Yes it was, my question now is whats the point of MAKE_ARGS when > options are saved in /var/db/ports and are used when you upgrade a > port?....Arggg... Not all ports have OPTIONS=foo magic. MAKE_ARGS works with *all* the ports of the tree. AFAIK, /var/db/ports/*/options works only with the ports that use OPTIONS=... stuff in their Makefile. > I just looked in /var/db/ports and not all the options are there, i.e. I > look for horde (it not even in there) and php4 and it says nothing about > the options I built it with, WITHOUT_MYSQL=yes WITH_POSTGRESQL=yes, nor > are apache13, postgres74, openldap22-server in there. What really scares > me about this is if I run portupgrade it will fsck my production server > up by not building the ports with the correct options, I'm starting to > feel that the only way I can trust the ports system is if I manually > upgrade all the ports by hand, I really need some advice and pointers to > docs. Alternatively, you can set up MAKE_ARGS and delete /var/db/ports/*/options every time you want a clean port upgrade ;-)