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

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

--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--



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