Date: Sun, 13 Feb 2005 17:08:11 +0100 From: Michael Nottebrock <michaelnottebrock@gmx.net> To: Gary Jennejohn <garyj@jennejohn.org> Cc: freebsd-ports@freebsd.org Subject: Re: fxtv: Error: shared library "Xaw3d.8" does not exist Message-ID: <200502131708.15717.michaelnottebrock@gmx.net> In-Reply-To: <200502131527.j1DFReLF011118@peedub.jennejohn.org> References: <200502131527.j1DFReLF011118@peedub.jennejohn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart4280268.YiWiEKJ5Xf Content-Type: multipart/mixed; boundary="Boundary-01=_st3DCy48ZSi7lEd" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_st3DCy48ZSi7lEd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday, 13. February 2005 16:27, Gary Jennejohn wrote: > Michael Nottebrock writes: > > On Saturday, 12. February 2005 13:22, Michael Nottebrock wrote: > > > On Saturday, 12. February 2005 12:25, Gary Jennejohn wrote: > > > > "michael corleone corleone" writes: > > > > > =3D=3D=3D> Returning to build of fxtv-1.03_2 > > > > > Error: shared library "Xaw3d.8" does not exist > > > > > *** Error code 1 > > > > > > > > This is either a bug in bsd.port.mk or the Xaw3d port. The port > > > > actually installs libXaw3d.so.7, but in bsd.port.mk XAWVER is > > > > set to 8. You can work around it by making a symlink. > > > > > > Can you try this patch? > > > > Whoops, that patch was against an old version of the port. New patch > > attached. > > That seems to work. It even deletes the symlink using pkg_delete and > ``make deinstall''. > > The port doesn't honor PREFIX :-( Oops, obvious blooper. I've let myself be confused from the bogus ${X11BASE= }=20 usage that was already in there... here's another patch. > Maybe you should also bump the port revision? Yeah, probably, but I'm not in a hurry with committing anyway (not sure if = the=20 xfree86-3 case is really right, but the present state seems wrong to me, so= I=20 changed it, too). =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-01=_st3DCy48ZSi7lEd Content-Type: text/x-diff; charset="iso-8859-1"; name="Xaw3d.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Xaw3d.diff" Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/Makefile,v retrieving revision 1.42 diff -u -r1.42 Makefile =2D-- Makefile 10 Jan 2005 19:12:13 -0000 1.42 +++ Makefile 13 Feb 2005 15:55:24 -0000 @@ -24,7 +24,9 @@ =20 .include <bsd.port.pre.mk> .if ${X_WINDOW_SYSTEM:L} =3D=3D xfree86-3 =2DPLIST_FILES=3D lib/libXaw3d.so.6 +PLIST_FILES=3D lib/libXaw3d.so.${XAWVER} +.elif ${X_WINDOW_SYSTEM:L} =3D=3D xorg +PLIST_FILES=3D lib/libXaw3d.so.${XAWVER} .endif =20 post-extract: @@ -43,7 +45,9 @@ ${MKDIR} ${PREFIX}/share/doc/Xaw3d ${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d .if ${X_WINDOW_SYSTEM:L} =3D=3D xfree86-3 =2D ${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6 + ${LN} -sf ${PREFIX}/lib/libXaw3d.so.7 ${PREFIX}/lib/libXaw3d.so.${XAWVER} +.elif ${X_WINDOW_SYSTEM:L} =3D=3D xorg + ${LN} -sf ${PREFIX}/lib/libXaw3d.so.7 ${PREFIX}/lib/libXaw3d.so.${XAWVER} .endif @${CAT} ${PKGMESSAGE} =20 Index: pkg-plist =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/pkg-plist,v retrieving revision 1.14 diff -u -r1.14 pkg-plist =2D-- pkg-plist 3 Sep 2004 20:43:04 -0000 1.14 +++ pkg-plist 13 Feb 2005 15:55:24 -0000 @@ -1,7 +1,7 @@ @comment $FreeBSD: ports/x11-toolkits/Xaw3d/pkg-plist,v 1.14 2004/09/03 20= :43:04 nork Exp $ lib/libXaw3d.a lib/libXaw3d.so =2Dlib/libXaw3d.so.%%XAWVER%% +lib/libXaw3d.so.7 include/X11/Xaw3d/AllWidgets.h include/X11/Xaw3d/AsciiSink.h include/X11/Xaw3d/AsciiSinkP.h --Boundary-01=_st3DCy48ZSi7lEd-- --nextPart4280268.YiWiEKJ5Xf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCD3tvXhc68WspdLARAiBWAKCQ5udZdV73eSUKEoIDBmcO1Ja5QACgnYIU dvKi5WtCskOiNVFYFxrdK3U= =TFXK -----END PGP SIGNATURE----- --nextPart4280268.YiWiEKJ5Xf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502131708.15717.michaelnottebrock>