From owner-freebsd-ports@FreeBSD.ORG  Sun Feb 13 16:08:28 2005
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8497C16A4CE
	for <freebsd-ports@freebsd.org>; Sun, 13 Feb 2005 16:08:28 +0000 (GMT)
Received: from mail.gmx.net (imap.gmx.net [213.165.64.20])
	by mx1.FreeBSD.org (Postfix) with SMTP id 5BECE43D2F
	for <freebsd-ports@freebsd.org>; Sun, 13 Feb 2005 16:08:27 +0000 (GMT)
	(envelope-from michaelnottebrock@gmx.net)
Received: (qmail invoked by alias); 13 Feb 2005 16:08:20 -0000
Received: from pD955F9AE.dip.t-dialin.net (EHLO lofi.dyndns.org)
	(217.85.249.174)
	by mail.gmx.net (mp005) with SMTP; 13 Feb 2005 17:08:20 +0100
X-Authenticated: #443188
Received: from kiste.my.domain (kiste.my.domain [192.168.8.4])
	(authenticated bits=0)
	by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id j1DG8GX7018981
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
	Sun, 13 Feb 2005 17:08:17 +0100 (CET)
	(envelope-from michaelnottebrock@gmx.net)
From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: Gary Jennejohn <garyj@jennejohn.org>
Date: Sun, 13 Feb 2005 17:08:11 +0100
User-Agent: KMail/1.7.2
References: <200502131527.j1DFReLF011118@peedub.jennejohn.org>
In-Reply-To: <200502131527.j1DFReLF011118@peedub.jennejohn.org>
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart4280268.YiWiEKJ5Xf";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200502131708.15717.michaelnottebrock@gmx.net>
X-Virus-Scanned: by amavisd-new
X-Y-GMX-Trusted: 0
cc: freebsd-ports@freebsd.org
Subject: Re: fxtv: Error: shared library "Xaw3d.8" does not exist
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Feb 2005 16:08:28 -0000

--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--