Whence CC="LD_LIBRARY_PATH=/usr/X11R6/lib cc"?
Christian Weisgerber
naddy at mips.inka.de
Wed Jun 18 18:30:37 PDT 2003
games/xbl fails to build on _some_ 4.x-STABLE machines (e.g. on
bento, but not on ref4) for a rather curious reason. xbl uses a
quite idiosyncratic configure script that does something like this
cat <<EOF >Imakefile
all:
@echo CC=\"$(CC)\"
EOF
xmkmf
eval `make all`
to get various values from imake. One of these values is CC, and
on the affected machines CC is set to "LD_LIBRARY_PATH=/usr/X11R6/lib cc",
which causes subsequent problems.
I wonder where this prefixed LD_LIBRARY_PATH comes from and why it
appears only on some machines.
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the freebsd-ports
mailing list