Subject: Re: Xaw3d vs X11BASE and/or X11_TYPE
To: Audun Arnesen Nordal <audun@stud.cs.uit.no>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/07/2004 16:04:31
--Signature=_Wed__7_Apr_2004_16_04_31_+0200_QtdZUuGMyW3iX_.n
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Wed, 7 Apr 2004 16:00:37 +0200 (CEST)
Audun Arnesen Nordal <audun@stud.cs.uit.no> wrote:

> 
> Hi.
> 
> I have X11BASE=/usr/pkg/X11R6 and X11_TYPE=XFree86 set in my 
> /etc/mk.conf. It seems that the Makefile in x11/Xaw3d doesn't pick this up 
> properly, and fails when generating the PLIST:
> 
> (make install in x11/Xaw3d)
> [...]
> + install -c -m 0444 Viewport.h /usr/pkg/X11R6/include/X11/Xaw3d
> + install -c -m 0444 ViewportP.h /usr/pkg/X11R6/include/X11/Xaw3d
> + install -c -m 0444 XawImP.h /usr/pkg/X11R6/include/X11/Xaw3d
> + install -c -m 0444 XawInit.h /usr/pkg/X11R6/include/X11/Xaw3d
> install in . done
> install.man in . done
> install -d -o root -g wheel -m 755 /usr/pkg/share/doc/Xaw3d
> install -c -o root -g wheel -m 444 
> /usr/obj/x11/Xaw3d/work/xc/lib/Xaw3d/README.XAW3D /usr/pkg/share/doc/Xaw3d
> /bin/cp /usr/pkgsrc/x11/Xaw3d/PLIST /usr/obj/x11/Xaw3d/work/PLIST-src
> cd /usr/pkg && /bin/ls lib/libXaw3d* >>/usr/obj/x11/Xaw3d/work/PLIST-src
> ls: lib/libXaw3d*: No such file or directory
> *** Error code 1
> 
> So everyhing ends up in /usr/pkg/X11R6, but the ${PREFIX} variable in the 
> Makefile seems to be set to /usr/pkg.

That's true, looks like XFree86 pkgsrc doesn't work fine when using xpkgwedge,
I'll take a look at this soon.

As workaround you could deinstall xpkgwedge and set USE_XPKGWEDGE=NO in
mk.conf...

-- 
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Wed__7_Apr_2004_16_04_31_+0200_QtdZUuGMyW3iX_.n
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAdApvypkLYVDran0RAr5AAJoDhIX8NSPMlvQGvf5wLsBiBbQVhgCeNOvo
z9u1sq15HqmnhgUvpsSfZko=
=zCOR
-----END PGP SIGNATURE-----

--Signature=_Wed__7_Apr_2004_16_04_31_+0200_QtdZUuGMyW3iX_.n--