Whence CC="LD_LIBRARY_PATH=/usr/X11R6/lib cc"?

Serge Gagnon gagnon__s at videotron.ca
Thu Jun 19 17:55:58 PDT 2003


On Wed, 2003-06-18 at 20:59, Christian Weisgerber wrote:
> 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.

Why not just comment this line as we do sometime when the author of the
software write a CC=gcc hardcoded in his makefile ?

--- configure.in.orig   Thu Jun 19 19:54:47 2003
+++ configure.in        Thu Jun 19 19:54:58 2003
@@ -43,7 +43,7 @@
        @echo LN=\"LN=$(LN)\"
        @echo COMPRESS=\"COMPRESS=$(COMPRESS)\"
        @echo MANPATH=\"MANPATH=$(MANPATH)\"
-       @echo CC=\"$(CC)\"
+#      @echo CC=\"$(CC)\"
        @echo LDOPTIONS=\"$(LDOPTIONS)\"
        @echo LINT=\"LINT=$(LINT)\"
        @echo LINTFLAGS=\"LINTFLAGS=$(LINTFLAGS)\"


-- 
Serge Gagnon <gagnon__s at videotron.ca>
Quebec, Qc, Canada
GPG key available from:
ftp://quenix.dyndns.org/keys/sg.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030619/96b9c777/attachment.bin


More information about the freebsd-ports mailing list