From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 22:30:09 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5A2116A41F for ; Tue, 15 Nov 2005 22:30:09 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A56343D72 for ; Tue, 15 Nov 2005 22:30:01 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so1036436wra for ; Tue, 15 Nov 2005 14:30:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=mJDVYeqVL6IOm6YJ+yIW5xm4pM+9ReCsrtf9UIAJYot3D6fPcT/FtaDlbmcDeHsLkZ+0b4J2AHP27N9m+dF8aNBZmNC9lI+DZj/a7vJVjWGqn+bNwLBfBiPuj7lOlLbzCZ4Qx7Jyprakmkma//ybOvjQMqaDCSh5uCW0pG0Jlvw= Received: by 10.54.154.17 with SMTP id b17mr4136941wre; Tue, 15 Nov 2005 14:30:01 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id d16sm147839wra.2005.11.15.14.30.00; Tue, 15 Nov 2005 14:30:01 -0800 (PST) From: "Michael C. Shultz" To: Craig Boston Date: Tue, 15 Nov 2005 14:20:37 -0800 User-Agent: KMail/1.8.3 References: <200511151342.15206.ringworm01@gmail.com> <20051115222021.GB71557@nowhere> In-Reply-To: <20051115222021.GB71557@nowhere> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511151420.39063.ringworm01@gmail.com> Cc: Scot Hetzel , Jiawei Ye , freebsd-ports@freebsd.org Subject: Re: Why does security/amavisd-new depend on db3? 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: Tue, 15 Nov 2005 22:30:09 -0000 On Tuesday 15 November 2005 14:20, Craig Boston wrote: > On Tue, Nov 15, 2005 at 01:42:13PM -0800, Michael C. Shultz wrote: > > God this is getting ugly. If what your saying is true, and I have no > > doubt that it is, then manuially installing port > > > > databases/p5-Berkeley > > > > by doing this: > > > > make install clean WITH_BDB_VER=42 is goint to stil cause > > security/amavisd-new to get its +CONTENTS file wrong > > if it is installed later. This is not good behavior your describing. > > Yes, that is exactly what will happen. Unless either amavisd-new is > installed with the same options, or make.conf is used (either globally > or with the CURDIR trick), it will get registered wrong. Even when > building manually. The same problem applies to binary packages built > with non-standard settings. > > Unfortunately it seems to be an artifact of the way that the ports > Makefile magic works, and doesn't look easy to solve. > > > Maybe the ports people are trying to force everyone to use OPTIONS > > and render WITH switches on the command line as no longer feasable? > > I'm not so sure this is a recent development... IMO it seems that > OPTIONS was partially devised as a way to avoid this kind of brokenness. > > > BTW your knowledge of the ports infrastructure is impressive, are you on > > the ports team by any chance? > > No, I just maintain a couple here and there. I've done some nasty > bsd.port.mk tricks before though, such as setting up hooks to install to > a nonstandard prefix and using stow to maintain a symlink tree in > /usr/local (for a hybrid flash memory/HDD system that didn't always have > the HDD mounted). > > Also, a few years back I wrote a C++ program that's halfway between > portupgrade and the package cluster build scripts. The idea was to use > a cluster to build packages in parallel, but after a cvsup to only > rebuild ones that had changed. The code was ugly and it never quite > worked 100% right, so I eventually stopped using it, but gained a lot of > experience with port and package dependencies. Ha, I've been toying with the same idea for portmanager, that is to use other computer's on one's network to help with the building of ports. I plan to test the idea next summer. Anyways I've learned much from you, thanks for taking the time to explain things! -Mike