summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2018-03-06 12:27:03 -0500
committerAmy Liffey <amynka@gentoo.org>2018-03-06 18:44:14 +0100
commitec836f1d982ca366a01b0d82fe6b54dd38bbfd36 (patch)
tree4c93c0467836500e68c0a8a4fedad9b8908e47d1 /dev-util/astyle
parentprofiles: Mask dev-db/maxscale for removal (diff)
downloadgentoo-ec836f1d982ca366a01b0d82fe6b54dd38bbfd36.tar.gz
gentoo-ec836f1d982ca366a01b0d82fe6b54dd38bbfd36.tar.bz2
gentoo-ec836f1d982ca366a01b0d82fe6b54dd38bbfd36.zip
dev-util/astyle: install unversioned so files
Closes: https://bugs.gentoo.org/647350 Closes: https://github.com/gentoo/gentoo/pull/7160 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-util/astyle')
-rw-r--r--dev-util/astyle/astyle-3.1-r1.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-util/astyle/astyle-3.1-r1.ebuild b/dev-util/astyle/astyle-3.1-r1.ebuild
index 56d0130f89fd..75d605a3c894 100644
--- a/dev-util/astyle/astyle-3.1-r1.ebuild
+++ b/dev-util/astyle/astyle-3.1-r1.ebuild
@@ -53,12 +53,17 @@ src_install() {
dobin ${PN}
# ex: libastyle.so.3.0.1
- dolib.so lib${PN}.so.${PV}.0
+ local libastylename=lib${PN}.so.${PV}.0
+ dolib.so ${libastylename}
# ex: libastyle.so.3
- dosym lib${PN}.so.${PV}.0 /usr/$(get_libdir)/lib${PN}.so.$(get_major_version)
+ local libdestdir=/usr/$(get_libdir)
+ dosym ${libastylename} ${libdestdir}/lib${PN}.so.$(get_major_version)
+ dosym ${libastylename} ${libdestdir}/lib${PN}.so
if use java ; then
- dolib.so lib${PN}j.so.${PV}.0
- dosym lib${PN}j.so.${PV}.0 /usr/$(get_libdir)/lib${PN}j.so.$(get_major_version)
+ local libastylejname=lib${PN}j.so.${PV}.0
+ dolib.so ${libastylejname}
+ dosym ${libastylejname} ${libdestdir}/lib${PN}j.so.$(get_major_version)
+ dosym ${libastylejname} ${libdestdir}/lib${PN}j.so
fi
if use static-libs ; then
dolib.a lib${PN}.a