From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 29 01:25:50 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 306EF16A4CE for ; Mon, 29 Nov 2004 01:25:50 +0000 (GMT) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B5043D39 for ; Mon, 29 Nov 2004 01:25:49 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from [192.168.1.5] ([68.209.163.3]) by imf20aec.mail.bellsouth.netESMTP <20041129012549.LCJH1976.imf20aec.mail.bellsouth.net@[192.168.1.5]>; Sun, 28 Nov 2004 20:25:49 -0500 In-Reply-To: References: <200411290158.05194.dejan.lesjak@ijs.si> <36850935-41A4-11D9-BAC8-000A958C81C6@ahze.net> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-7-977780564" Message-Id: <997800CC-41A5-11D9-BAC8-000A958C81C6@ahze.net> Content-Transfer-Encoding: 7bit From: Michael Johnson Date: Sun, 28 Nov 2004 20:25:48 -0500 To: Michael Johnson X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) cc: Dejan Lesjak 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:25:50 -0000 --Apple-Mail-7-977780564 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Nov 28, 2004, at 8:20 PM, Michael Johnson wrote: > > On Nov 28, 2004, at 8:15 PM, Michael Johnson wrote: > >>> 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? > > Or moved in bsd.port.mk so it works with bsd.autotools.mk ? Like http://ahze.net/~ahze/bsd.port.mk.patch seems to work Michael > >> >>> 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-7-977780564 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) iD8DBQFBqnqcn4uqfTwEb9YRAh/yAJ98ggQrUfgOjSjLFbuoBrZ0o4oQAwCgkTX6 hT3lRImV/nPhKAFBsaHAPVk= =o22K -----END PGP SIGNATURE----- --Apple-Mail-7-977780564--