app-editors/joe: Fixed eautoreconf with USE="xterm".

Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2016-09-07 14:43:02 +02:00
parent a6ead2375e
commit 5fbb77dd36

View File

@@ -27,11 +27,12 @@ src_prepare() {
default
# Enable xterm mouse support in the rc files
if use xterm; then
cd "${S}"/rc || die
pushd "${S}"/rc &>/dev/null || die
local i
for i in *rc*.in; do
sed -e 's/^ -\(mouse\|joexterm\)/-\1/' -i "${i}" || die
done
popd &>/dev/null
fi
eautoreconf
}