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

Michael Nottebrock michaelnottebrock at gmx.net
Sat Feb 12 04:22:40 PST 2005


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?

-- 
   ,_,   | 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.41
diff -u -r1.41 Makefile
--- Makefile	3 Sep 2004 20:43:04 -0000	1.41
+++ Makefile	12 Feb 2005 12:21:47 -0000
@@ -17,10 +17,13 @@
 WRKSRC=		${WRKDIR}/xc/lib/Xaw3d
 USE_IMAKE=	yes
 INSTALLS_SHLIB=	yes
+PKGMESSAGE=	${WRKDIR}/PKGMESSAGE
 
 .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:
@@ -34,11 +37,16 @@
 	  's/CDEBUGFLAGS = -O/CDEBUGFLAGS =/g' Makefile.orig > Makefile)
 .endif
 
+post-build:
+	@${CAT} ${PKGDIR}/pkg-message | ${SED} -e 's,%%XAWVER%%,${XAWVER},g' > ${PKGMESSAGE}
+
 post-install:
 	${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-message
===================================================================
RCS file: /home/pcvs/ports/x11-toolkits/Xaw3d/pkg-message,v
retrieving revision 1.1
diff -u -r1.1 pkg-message
--- pkg-message	22 Feb 2000 08:01:58 -0000	1.1
+++ pkg-message	12 Feb 2005 12:21:47 -0000
@@ -3,6 +3,6 @@
 so most X applications will get a 3-D look, do this (as root):
 
 cd /usr/X11R6/lib
-mv libXaw.so.6 libXaw2d.so.6
-ln -s libXaw3d.so.6 libXaw.so.6
+mv libXaw.so.%%XAWVER%% libXaw2d.so.%%XAWVER%%
+ln -s libXaw3d.so.%%XAWVER%% libXaw.so.%%XAWVER%%
 *******************************************************************
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	12 Feb 2005 12:21:47 -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/20050212/1c288a4e/attachment.bin


More information about the freebsd-ports mailing list