Displaying 2 results from an estimated 2 matches for "bashcompsdir".
Did you mean:
bashcompdir
2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...onfig --variable defaults to flattening the ${prefix}
in our use of the PKG_CHECK_VAR() macro, which in turn means
that './configure --prefix=$HOME/subdir' still uses an absolute
path pointing to a root-owned directory (rather than one relative
to our desired ${prefix}) in our definition of bashcompsdir.
The solution? Tell pkg-config to NOT flatten the prefix variable.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
I'm posting this one for review, particularly since it means someone
running 'make install' with a non-root --prefix will now be stuck
with bash completion libra...
2018 Dec 07
0
Re: [nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...aults to flattening the ${prefix}
> in our use of the PKG_CHECK_VAR() macro, which in turn means
> that './configure --prefix=$HOME/subdir' still uses an absolute
> path pointing to a root-owned directory (rather than one relative
> to our desired ${prefix}) in our definition of bashcompsdir.
>
> The solution? Tell pkg-config to NOT flatten the prefix variable.
Well, it's _a_ solution. Another one would be to NOT ask pkg-config
ANYTHING, and just _always_ default to installing into ${sysconfdir},
since the patch already shows that to be our default if pkg-config is
not...