Date: Sat, 2 Feb 2002 22:50:01 -0800 (PST) From: Will Andrews <will@csociety.org> To: freebsd-ports@FreeBSD.org Subject: Re: [PATCH] Re: ports/34565: graphics/blender port is broke Message-ID: <200202030650.g136o1Q40333@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34565; it has been noted by GNATS. From: Will Andrews <will@csociety.org> To: mkm <mkm@idsi.net> Cc: FreeBSD GNATS DB <FreeBSD-gnats-submit@FreeBSD.org> Subject: Re: [PATCH] Re: ports/34565: graphics/blender port is broke Date: Sun, 3 Feb 2002 01:47:03 -0500 On Sat, Feb 02, 2002 at 05:00:02PM -0800, mkm wrote: > *** Makefile.old Tue Sep 11 04:38:03 2001 > --- Makefile Sat Feb 2 16:48:09 2002 > *************** > *** 36,40 **** > --- 36,42 ---- > ${MKDIR} ${PREFIX}/share/doc/blender > ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/blender > ${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender > + ${LN} -s ${X11BASE}/lib/libGL.so.1 {$X11BASE}/lib/libGL.so.14 > + ${LN} -s ${X11BASE}/lib/libGLU.so.1 {$X11BASE}/lib/libGLU.so.14 > > .include <bsd.port.mk> > *** pkg-plist.old Thu Mar 8 11:57:50 2001 > --- pkg-plist Sat Feb 2 16:42:18 2002 > *************** > *** 4,9 **** > --- 4,11 ---- > lib/blender/plugins/sequence/showzbuf.so > lib/blender/plugins/texture/clouds2.so > lib/blender/plugins/texture/tiles.so > + lib/libGL.so.14 > + lib/libGLU.so.14 > share/doc/blender/README > share/doc/blender/copyright.txt > @dirrm share/doc/blender 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. 2) Removes files owned by the Mesa package if you install blender after installing Mesa then remove it. 3) Replaces files installed by the Mesa package if you install the blender package (as opposed to the port). Port maintainer would be well advised not to integrate such a broken patch. If nothing else, however, the port maintainer 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. 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. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202030650.g136o1Q40333>