Subject: Xaw3d vs X11BASE and/or X11_TYPE
To: None <>
From: Audun Arnesen Nordal <>
List: tech-pkg
Date: 04/07/2004 16:00:37

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


Audun Nordal