summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-27 16:21:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-27 16:21:24 +0100
commit013b5ea3b8e293bccc3e6d211790ada795f648f0 (patch)
treea9cbece49eb991bb300ef83eb80cbfc0357e1bd8 /app-accessibility
parentapp-accessibility/brltty: Revbump for various fixes (diff)
downloadgentoo-013b5ea3b8e293bccc3e6d211790ada795f648f0.tar.gz
gentoo-013b5ea3b8e293bccc3e6d211790ada795f648f0.tar.bz2
gentoo-013b5ea3b8e293bccc3e6d211790ada795f648f0.zip
app-accessibility/brltty: Fixed installation with USE="-api"
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/brltty/brltty-6.0-r1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/app-accessibility/brltty/brltty-6.0-r1.ebuild b/app-accessibility/brltty/brltty-6.0-r1.ebuild
index 992de9ab91d7..718a81cf76d6 100644
--- a/app-accessibility/brltty/brltty-6.0-r1.ebuild
+++ b/app-accessibility/brltty/brltty-6.0-r1.ebuild
@@ -184,10 +184,12 @@ src_install() {
systemd_dounit Autostart/Systemd/brltty@.service
systemd_dotmpfilesd "${FILESDIR}/${PN}.tmpfiles.conf"
- local libdir="$(get_libdir)"
- mkdir -p "${ED}"/usr/${libdir}/ || die
- mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
- gen_usr_ldscript libbrlapi.so
+ if use api ; then
+ local libdir="$(get_libdir)"
+ mkdir -p "${ED}"/usr/${libdir}/ || die
+ mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
+ gen_usr_ldscript libbrlapi.so
+ fi
cd Documents || die
mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die