On Mon, Jun 26, 2017 at 12:53 AM, Luca Weiss <l...@z3ntu.xyz> wrote:
> I needed the patch for building with these commands: 
> https://github.com/z3ntu/archhurd_packages_new/blob/master/hurd/PKGBUILD#L29-L58
>  .

That configuration sets prefix=/usr during "configure", then sets
prefix=$(DESTDIR) during "make install", which seems inconsistent.
(All this prefix juggling is a result of the Hurd Makefiles not
natively understanding DESTDIR.)

If xkeyboard-config.pc is not installed, you'll need to add
--datarootdir='${prefix}/usr/share' so that "$datadir" expands to
"$(DESTDIR)/usr/share" on install.  If xkeyboard-config.pc is
installed, you can probably get it to work by adding the following
line to "configure":

XKB_BASE="$PKG_CONFIG --define-variable=prefix='${prefix}/usr'
--variable=xkb_base xkeyboard-config"

Thanks.

David

Reply via email to