fxtv: Error: shared library "Xaw3d.8" does not exist

Michael Nottebrock michaelnottebrock at gmx.net
Sun Feb 13 05:24:54 PST 2005


On Saturday, 12. February 2005 13:22, Michael Nottebrock wrote:
> On Saturday, 12. February 2005 12:25, Gary Jennejohn wrote:
> > "michael corleone corleone" writes:
> > > ===>   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.

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	10 Jan 2005 19:12:13 -0000	1.42
+++ Makefile	13 Feb 2005 13:23:37 -0000
@@ -24,7 +24,9 @@
 
 .include <bsd.port.pre.mk>
 .if ${X_WINDOW_SYSTEM:L} == xfree86-3
-PLIST_FILES=	lib/libXaw3d.so.6
+PLIST_FILES=	lib/libXaw3d.so.${XAWVER}
+.elif ${X_WINDOW_SYSTEM:L} == xorg
+PLIST_FILES=	lib/libXaw3d.so.${XAWVER}
 .endif
 
 post-extract:
@@ -43,7 +45,9 @@
 	${MKDIR} ${PREFIX}/share/doc/Xaw3d
 	${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
 .if ${X_WINDOW_SYSTEM:L} == xfree86-3
-	${LN} -sf libXaw3d.so.${XAWVER} ${X11BASE}/lib/libXaw3d.so.6
+	${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.${XAWVER}
+.elif ${X_WINDOW_SYSTEM:L} == xorg
+	${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.${XAWVER}
 .endif
 	@${CAT} ${PKGMESSAGE}
 
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/pkg-plist,v
retrieving revision 1.14
diff -u -r1.14 pkg-plist
--- pkg-plist	3 Sep 2004 20:43:04 -0000	1.14
+++ pkg-plist	13 Feb 2005 13:23:37 -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
-lib/libXaw3d.so.%%XAWVER%%
+lib/libXaw3d.so.7
 include/X11/Xaw3d/AllWidgets.h
 include/X11/Xaw3d/AsciiSink.h
 include/X11/Xaw3d/AsciiSinkP.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050213/4d0d4f2d/attachment.bin


More information about the freebsd-ports mailing list