From owner-freebsd-ports@FreeBSD.ORG Sat May 5 19:54:41 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DB6A16A402 for ; Sat, 5 May 2007 19:54:41 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: from mail.rwxrwxrwx.net (carpetsmoker.xs4all.nl [82.93.23.199]) by mx1.freebsd.org (Postfix) with ESMTP id DE33313C45D for ; Sat, 5 May 2007 19:54:40 +0000 (UTC) (envelope-from carpetsmoker@rwxrwxrwx.net) Received: by mail.rwxrwxrwx.net (Postfix, from userid 1001) id BD5166D46E; Sat, 5 May 2007 21:53:21 +0200 (CEST) Date: Sat, 5 May 2007 21:53:21 +0200 From: Martin Tournoij To: freebsd-ports@freebsd.org Message-ID: <20070505195320.GA4137@glitch.rwxrwxrwx.net> Mail-Followup-To: freebsd-ports@freebsd.org, durian@shadetreesoftware.com References: <200705051254.45659.durian@shadetreesoftware.com> <20070505192618.GA67138@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070505192618.GA67138@xor.obsecurity.org> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: durian@shadetreesoftware.com Subject: Re: How to manage pkg-plists when two ports install the same files 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: Sat, 05 May 2007 19:54:41 -0000 On Sat 05 May 2007 15:05, Kris Kennaway wrote: > On Sat, May 05, 2007 at 12:54:44PM -0600, Mike Durian wrote: > > I have just noticed that both net/sipxtacklib and net/sipxcalllib > > install the some of the same header files. How to I manage pkg-plists > > for both ports and keep tinderbox happy? > > > > If I list the files in both packing lists, the first port to > > deinstall removes the files. Then tinderbox gets unhappy because > > files that were present before the port was deinstalled are now > > missing. > > Only one port is allowed to install such files. If they both need to > use it then either "ownership" of the common file needs to move into a > common dependency, or the ports be marked with CONFLICTS so they can't > be installed on top of each other. You can also install the header files in a different location, for example include/siptacklib/*.h and include/sipxcalllib/*.h What you need to consider: - Is it likely that someone would want to install both ports at the same time? - How much work would be involved? Changing the location of the headers would mean changing all the ports that depend on this one. -- Regards, Martin Tournoij