From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 29 01:15:55 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 123B016A4CE for ; Mon, 29 Nov 2004 01:15:55 +0000 (GMT) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EFED43D4C for ; Mon, 29 Nov 2004 01:15:54 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from [192.168.1.5] ([68.209.163.3]) by imf20aec.mail.bellsouth.netESMTP <20041129011553.KYSN1976.imf20aec.mail.bellsouth.net@[192.168.1.5]>; Sun, 28 Nov 2004 20:15:53 -0500 In-Reply-To: <200411290158.05194.dejan.lesjak@ijs.si> References: <200411290158.05194.dejan.lesjak@ijs.si> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-5-977185058" Message-Id: <36850935-41A4-11D9-BAC8-000A958C81C6@ahze.net> Content-Transfer-Encoding: 7bit From: Michael Johnson Date: Sun, 28 Nov 2004 20:15:52 -0500 To: Dejan Lesjak X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) cc: freebsd gnome Subject: Re: libxklavier and upcoming xorg 6.8.1 upgrade X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 01:15:55 -0000 --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--