#3482: util-linux ignores prefix to install bash completions
---------------------+-------------------------
Reporter: shibata | Owner: lfs-book@…
Type: defect | Status: new
Priority: high | Milestone: 7.5
Component: Book | Version: SVN
Severity: normal | Resolution:
Keywords: |
---------------------+-------------------------
Comment (by shibata):
From ./configure, line 22803:
{{{
# Check whether --with-bashcompletiondir was given.
if test "${with_bashcompletiondir+set}" = set; then :
withval=$with_bashcompletiondir;
else
if `$PKG_CONFIG --exists bash-completion`; then :
with_bashcompletiondir=`$PKG_CONFIG --variable=completionsdir bash-
completion`
else
with_bashcompletiondir=${datadir}/bash-completion/completions
fi
fi
bashcompletiondir=$with_bashcompletiondir
}}}
My pkg-config has bash-completion, so the path is taken from host's pkg-
config. Using --with-bashcompletiondir=DIR explicitly sets the path.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3482#comment:4>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page