Skip site navigation (1)Skip section navigation (2)
Date:      19 Jun 2003 21:24:14 -0400
From:      Serge Gagnon <gagnon__s@videotron.ca>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Whence CC="LD_LIBRARY_PATH=/usr/X11R6/lib cc"?
Message-ID:  <1056072254.28429.6.camel@quenix.dyndns.org>
In-Reply-To: <bcr1sk$1dpn$1@kemoauc.mips.inka.de>
References:  <bcr1sk$1dpn$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-QxrziOsKu+t5Pj0OT2XL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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
>=20
> cat <<EOF >Imakefile
> all:
> 	@echo CC=3D\"$(CC)\"
> EOF
> xmkmf
> eval `make all`
>=20
> to get various values from imake.  One of these values is CC, and
> on the affected machines CC is set to "LD_LIBRARY_PATH=3D/usr/X11R6/lib c=
c",
> which causes subsequent problems.
>=20
> 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=3Dgcc 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=3D\"LN=3D$(LN)\"
        @echo COMPRESS=3D\"COMPRESS=3D$(COMPRESS)\"
        @echo MANPATH=3D\"MANPATH=3D$(MANPATH)\"
-       @echo CC=3D\"$(CC)\"
+#      @echo CC=3D\"$(CC)\"
        @echo LDOPTIONS=3D\"$(LDOPTIONS)\"
        @echo LINT=3D\"LINT=3D$(LINT)\"
        @echo LINTFLAGS=3D\"LINTFLAGS=3D$(LINTFLAGS)\"


--=20
Serge Gagnon <gagnon__s@videotron.ca>
Quebec, Qc, Canada
GPG key available from:
ftp://quenix.dyndns.org/keys/sg.asc

--=-QxrziOsKu+t5Pj0OT2XL
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQA+8mI+oCaj+mM9FyYRAh5zAJ4gVUvc+c2fHRmUcTiHxT9QokopdACdE+sw
HumKbK1N4NTrklDs2Hvhqyw=
=SvLq
-----END PGP SIGNATURE-----

--=-QxrziOsKu+t5Pj0OT2XL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1056072254.28429.6.camel>