From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 29 00:58:09 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 D1AA516A4CE for ; Mon, 29 Nov 2004 00:58:09 +0000 (GMT) Received: from niobe.ijs.si (mail.ijs.si [193.2.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id F10B143D54 for ; Mon, 29 Nov 2004 00:58:08 +0000 (GMT) (envelope-from dejan.lesjak@ijs.si) Received: from localhost (localhost.ijs.si [127.0.0.1]) by niobe.ijs.si (Postfix) with ESMTP id CA1DD1DD562 for ; Mon, 29 Nov 2004 01:58:07 +0100 (CET) Received: from niobe.ijs.si ([127.0.0.1]) by localhost (niobe.ijs.si [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 83887-08 for ; Mon, 29 Nov 2004 01:58:06 +0100 (CET) Received: from metatron.ijs.si (metatron.ijs.si [193.2.4.152]) by niobe.ijs.si (Postfix) with ESMTP id 368FC1DD563 for ; Mon, 29 Nov 2004 01:58:05 +0100 (CET) Received: from [192.168.10.30] (clj8-144.dial-up.arnes.si [194.249.52.144]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by metatron.ijs.si (Postfix) with ESMTP id D39651C00B08 for ; Mon, 29 Nov 2004 01:58:05 +0100 (CET) From: Dejan Lesjak To: freebsd-gnome@FreeBSD.org Date: Mon, 29 Nov 2004 01:58:04 +0100 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411290158.05194.dejan.lesjak@ijs.si> X-Virus-Scanned: amavisd-new at ijs.si Subject: 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 00:58:09 -0000 Hello, Soon xorg ports should get upgraded to xorg 6.8.1. Unfortunately ports test build reports problem with libxklavier port: http://dosirak.kr.freebsd.org/errorlogs/i386-5-latest-logs/libxklavier-1.04_1,1.log The problem is that imake is no longer run dependancy for xorg ports (which is actually a god thing, but in this case it causes trouble) and thus it doesn't get installed when libxklavier is built. This port however gets location of X headers and libraries through this Imakefile snippet of configure: cat >Imakefile <<'_ACEOF' acfindx: @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im _libdir="${LIBDIR}"' _ACEOF 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. Dejan