Subject: x11-links wrong path
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/31/2003 14:58:36
My x11-links under .buildlink/lib/ point to wrong place.

$ ls -l /usr/pkgsrc/x11/gtk/work.shasta/.buildlink/lib/libX11.so*
lrwxrwxrwx    1 reed     users          28 Mar 31 14:08
/usr/pkgsrc/x11/gtk/work
.shasta/.buildlink/lib/libX11.so -> ../../../X11R6/lib/libX11.so
lrwxrwxrwx    1 reed     users          30 Mar 31 14:08
/usr/pkgsrc/x11/gtk/work
.shasta/.buildlink/lib/libX11.so.6 -> ../../../X11R6/lib/libX11.so.6
lrwxrwxrwx    1 reed     users          32 Mar 31 14:08
/usr/pkgsrc/x11/gtk/work
.shasta/.buildlink/lib/libX11.so.6.2 -> ../../../X11R6/lib/libX11.so.6.2

Notice that the ../../.. was from the "cp -R" and it references the wrong
place. This is using cp (fileutils) 4.1.11. My x11-links is installed to
/usr/share/x11-links.

My workaround was to manually do:

cp -Rfs /usr/share/x11-links/* /usr/pkgsrc/x11/gtk/work.shasta/.buildlink-x11/

(This "-s" switch is for create symlinks.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/