From owner-freebsd-ports Tue Oct 29 19:19:47 2002 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 64E1237B401 for ; Tue, 29 Oct 2002 19:19:46 -0800 (PST) Received: from haystack.lclark.edu (haystack.lclark.edu [149.175.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE37243E88 for ; Tue, 29 Oct 2002 19:19:45 -0800 (PST) (envelope-from eta@lclark.edu) Received: from copeland-30-191.lclark.edu (anholt@copeland-30-191.lclark.edu [149.175.30.191]) by haystack.lclark.edu (8.9.3/8.9.3) with ESMTP id TAA07748; Tue, 29 Oct 2002 19:19:02 -0800 (PST) Subject: Re: further on GL/gl.h From: Eric Anholt To: Julian Elischer Cc: ports@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 29 Oct 2002 19:19:02 -0800 Message-Id: <1035947942.710.97.camel@anholt.dyndns.org> Mime-Version: 1.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2002-10-29 at 12:06, Julian Elischer wrote: > > the following ports all install teh same file: > julian# find . -name "pkg-plist" |xargs grep "GL/gl.h" > ./graphics/Mesa3/pkg-plist:%%XFREE3:%%include/GL/gl.h > ./graphics/linux_mesa/pkg-plist:usr/include/GL/gl.h > ./graphics/linux_mesa3/pkg-plist:usr/X11R6/include/GL/gl.h > ./graphics/utah-glx/pkg-plist:include/GL/gl.h > ./devel/mingw-opengl-headers/pkg-plist:i386-mingw32msvc/include/GL/gl.h > ./x11/XFree86-4-libraries/pkg-plist:include/GL/gl.h > > this means that if you delete one..... oops > the other packages are screwed.. I just go bit by this.. > (see other email) > > Any suggestions as to how this might be handled? You shouldn't have Mesa3 or utah-glx installed if you have XFree86-4-libraries. I don't think you would have linux_mesa and linux_mesa3 installed at the same time (they are /compat/linux based), and the chances of you also needing the linux gl.h I think are slim :) So I don't see any real conflict here with a semi-recent set of ports unless you're using X 3, mesa3 for glut, and utah-glx for your GL. However, I do wish that the package system kept some sort of reference count for files so that on delete of a package it wouldn't delete files unless no package referenced that filename any more. This was a problem when I moved a file from X4-clients to X4-libraries and portupgrade installed the new libraries, deleted the old clients (deleting the new libraries's file), then installed the new clients. -- Eric Anholt http://people.freebsd.org/~anholt/dri/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message