Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 20:15:52 -0500
From:      Michael Johnson <ahze@ahze.net>
To:        Dejan Lesjak <dejan.lesjak@ijs.si>
Cc:        freebsd gnome <freebsd-gnome@FreeBSD.org>
Subject:   Re: libxklavier and upcoming xorg 6.8.1 upgrade
Message-ID:  <36850935-41A4-11D9-BAC8-000A958C81C6@ahze.net>
In-Reply-To: <200411290158.05194.dejan.lesjak@ijs.si>
References:  <200411290158.05194.dejan.lesjak@ijs.si>

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

--Apple-Mail-5-977185058
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

> Having no imake, this part fails and configure then checks if it needs
> additional flags for X. It already has -I${X11BASE}/include in 
> CPPFLAGS and
> -L${X11BASE}/lib in LDFLAGS in environment, so it concludes that it 
> doesn't
> need any and sets both $x_includes and $x_libraries to empty strings. 
> That
> would be otherwise fine and the thing would bild. Unfortunately, it 
> uses the
> value of $x_libraries to construct location of xkb specifications 
> without
> further checks, and there it fails.
> So for the solution: adding either 
> "--with-xkb-base=${X11BASE}/lib/X11/xkb" or
> "--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib" to
> CONFIGURE_ARGS in ports Makefile should solve the problem.

This brings up a good point, the lines in bsd.port.mk

.if defined(USE_XLIB)
LIB_DEPENDS+=   X11.6:${X_LIBRARIES_PORT}
# Add explicit X options to avoid problems with false positives in 
configure
.if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+=--x-libraries=${X11BASE}/lib 
--x-includes=${X11BASE}/include
.endif
.endif

Don't work with WITH_LIBTOOL_ since GNU_CONFIGURE is defined from 
bsd.autotools.mk
should the previous not be a part of bsd.autotools.mk?

> Dejan
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to 
> "freebsd-gnome-unsubscribe@freebsd.org"

--Apple-Mail-5-977185058
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBqnhJn4uqfTwEb9YRAtlgAKCUOtmEGRgJIqhBk6QrRtOExnewqQCfW5Rv
EPh49Mc6ALqpnJVlOxvtHJk=
=QMmy
-----END PGP SIGNATURE-----

--Apple-Mail-5-977185058--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36850935-41A4-11D9-BAC8-000A958C81C6>