bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH hurd] build: Drop unused/unsubstituted config variables


From: David Michael
Subject: Re: [PATCH hurd] build: Drop unused/unsubstituted config variables
Date: Mon, 26 Jun 2017 08:46:09 -0700

On Mon, Jun 26, 2017 at 12:53 AM, Luca Weiss <luca@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

[Prev in Thread] Current Thread [Next in Thread]