[Spice-devel] [PATCH][spice-gtk] build-sys: make path to polkit consider prefix.

Victor Toso victortoso at redhat.com
Mon Dec 8 11:43:34 PST 2014


Hey,

> Hmm, is this going to work?
> $ pkg-config polkit-gobject-1 --variable=policydir
> /usr/share/polkit-1/actions/
> 
> Prepending /usr isn't good.
> 
> If you want to install out of prefix, you should consider DESTDIR=/tmp/foo
> make install

I usually install it in may $HOME/dev, yes.
The problem with DESTDIR is with the pkg-config files.
I would compile it without the prefix so the pkg-config files would have the default prefix set (prefix=/usr/local) installed in another place due to DESTDIR=...

I could sed them all to fix it but isn't it a problem to set the --prefix and having a file being installed somewhere else of that prefix?

Regards,

Victor Toso


More information about the Spice-devel mailing list