From owner-freebsd-ports Sun Feb 3 0: 0:26 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BA6137B404 for ; Sun, 3 Feb 2002 00:00:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g13809T53431; Sun, 3 Feb 2002 00:00:09 -0800 (PST) (envelope-from gnats) Date: Sun, 3 Feb 2002 00:00:09 -0800 (PST) Message-Id: <200202030800.g13809T53431@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: mkm Subject: Re: [PATCH] Re: ports/34565: graphics/blender port is broke Reply-To: mkm 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 The following reply was made to PR ports/34565; it has been noted by GNATS. From: mkm To: Will Andrews Cc: FreeBSD GNATS DB Subject: Re: [PATCH] Re: ports/34565: graphics/blender port is broke Date: Sat, 2 Feb 2002 23:57:58 -0600 On Sunday 03 February 2002 12:47 am, Will Andrews wrote: > As I said, this patch is wrong for several reasons: > > 1) Does not take into account case when you install Mesa > then later remove it. Right, Mesa should be a dependent on this port. Which currently isn't but should be regardless of the patch. > 2) Removes files owned by the Mesa package if you install > blender after installing Mesa then remove it. No, it just makes 2 symlinks that Mesa doesn't currently make, then deletes them. > 3) Replaces files installed by the Mesa package if you > install the blender package (as opposed to the port). Why would a pkg install different files than a port? Could you expand on that? I think im obviously overlooking something. > Port maintainer would be well advised not to integrate such a > broken patch. If nothing else, however, the port maintainer the "broken patch" makes the port "unbroke" 8) > might want to include a pkg-message file (or append one if it > exists) instructing the installing user to symlink > libGL[U,].so.14 to libGL[U,].so.1 or whatever it is X4 > installed at that time. If the user manually creates those symlinks, then uninstalls Mesa and/or blender at a later time, niether will claim ownership of that file and will leave the dead link in the lib dir. I _hate_ dirty /usr trees, thats how things break 8) > This mess would be properly fixed if we had proper magic to > detect Mesa. For example, Mesa should be split out into libglut > so there is no need for the Mesa package if X4 is installed. As I mentioned earlier, im looking into Mesa right now to see what can be done to fix this. Really the only issues I see with the patch is that it needs a PORTREVISION bump, a Mesa depend and the fact that Mesa is the port that should be patched not the blender port. I just submitted this patch because it does temporarily fix things until you/I/maintainer/whoever can come up with the proper solution. -- Kyle Martin mkm@idsi.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message