From owner-freebsd-ports@FreeBSD.ORG Wed Jul 29 19:33:37 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4998A106564A; Wed, 29 Jul 2009 19:33:37 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0667D8FC14; Wed, 29 Jul 2009 19:33:36 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 133DB7E818; Wed, 29 Jul 2009 11:33:36 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Wed, 29 Jul 2009 11:33:34 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <4A709B81.5070905@FreeBSD.org> In-Reply-To: <4A709B81.5070905@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907291133.35055.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: "Dan Mahoney, System Admin" , ports@freebsd.org, Doug Barton , freebsd-questions@freebsd.org Subject: Re: Don't know how to make /usr/ports/dns/bind96/work/.build.... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 19:33:37 -0000 On Wednesday 29 July 2009 10:57:05 Doug Barton wrote: > Dan Mahoney, System Admin wrote: > >> I believe Mel is right here. 'make clean ; make config ; make' worked > >> for me. > > > > As does a second make after getting this error, but it's nonintuitive, > > and probably a ports bug. > > I'm not sure why 'make clean' is nonintuitive in the context of > changing OPTIONS. What is your expectation of how it should work? What he means is that make without arguments or make install as per handbook, will build the build target which will invoke the config target if OPTIONS changed or no options file is found. However, this is a corner case, as it applies to: - Ports that change PREFIX using OPTIONS - For which no options file is available or the OPTIONS list has changed - When the PREFIX is actually changed through toggling the appropriate option. This applies surely to less then 100 (probably more like a dozen) ports on the 18k that are in the tree and only affects people who do not use ports-mgmt software. As such it is not worth fixing, IMHO. -- Mel