Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2007 21:05:40 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Tim Bishop <tdb@freebsd.org>
Cc:        Howard Goldstein <hg@queue.to>, freebsd-ports@freebsd.org
Subject:   Re: Thunderbird & OpenLDAP (Was: Re: HEADS UP: xorg 7.2 ready for testing)
Message-ID:  <1179104740.21357.12.camel@shumai.marcuscom.com>
In-Reply-To: <20070514003433.GD16073@carrick.bishnet.net>
References:  <20070514003433.GD16073@carrick.bishnet.net>

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

--=-qm52CK8ShiuEyJSRMT+r
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2007-05-14 at 01:34 +0100, Tim Bishop wrote:
> On Sun, May 13, 2007 at 07:05:05PM -0400, Howard Goldstein wrote:
> > Tim Bishop wrote:
> > > The problem is identical with all three. I have openldap installed:
> > >
> > > openldap-client-2.3.35
> > >
> > > And it's the owner of /usr/local/include/lber.h.
> > >
> > > I can't see why this problem has emerged now - these apps were alread=
y
> > > sharing /usr/local. Maybe it's unrelated to the xorg upgrade?
> >=20
> > It seems to be unrelated. There's a PR for this.  A workaround is this
>=20
> Ah, well spotted! I hadn't noticed that PR.
>=20
> On closer inspection it's fairly obvious where the problem is. The
> included lber-int.h includes "lber.h". This isn't in the current
> directory and looking at the compiler options we can see how it finds
> the system installed version rather than the local version first:
>=20
> cc ... -I/usr/local/include ... -I../../../ldap/include ...
>=20
> But I'm not sure where to start looking in this build system to fix it ;-=
)

This is easy.  Just set CPPFLAGS to:

CPPFLAGS+=3D	-I${LOCALBASE}/include/nss -I${LOCALBASE}/include/nss/nss

In www/mozilla/Makefile.common.  This will be one of the post-merge
housekeeping things we take care of.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iD8DBQBGR7Xjb2iPiv4Uz4cRArVWAKCKtCuSasX6SKAsmQScVOquEowsawCgirqY
SdiyRijPTPKsEL/c6g0a5MQ=
=WbiK
-----END PGP SIGNATURE-----

--=-qm52CK8ShiuEyJSRMT+r--




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