| Summary: | XFree86-4-libraries fails to install with modified LOCALBASE | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Thomas Hurst <freaky> |
| Component: | Individual Port(s) | Assignee: | Eric Anholt <anholt> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->anholt assign to maintainer State Changed From-To: open->closed Fixed, needed a portupgrade -RfN. |
I currently have XFree86-libraries-4.2.0_1 installed to /usr/pkg; I mistakenly set PREFIX when I installed it, so now all the ports that expect to find it in X11BASE are failing to compile. A portupgrade -f, however, fails on installation: /usr/bin/install -c -m 0644 libXrender.a /usr/X11R6/lib ranlib /usr/X11R6/lib/libXrender.a + /usr/bin/install -c -m 0444 Xrender.h /usr/X11R6/include/X11/extensions install in lib/Xrender done installing in lib/Xft... make: don't know how to make /usr/pkg/include/X11/Xlib.h. Stop *** Error code 2 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib. *** Error code 1 Note everything else is being installed to X11BASE, but X11/Xlib.h is going to PREFIX/LOCALBASE. This same port installed happily with PREFIX (and hence the port's concept of X11BASE) set to LOCALBASE (/usr/pkg). How-To-Repeat: LOCALBASE=/usr/pkg PREFIX=${LOCALBASE} cd /usr/ports/x11/XFree86-4-libraries && make all install clean unset PREFIX portupgrade -f XFree86-libraries