From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF95B1382C5 for ; Tue, 6 Mar 2018 17:44:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26C04E097D; Tue, 6 Mar 2018 17:44:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01651E097D for ; Tue, 6 Mar 2018 17:44:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0696B335C09 for ; Tue, 6 Mar 2018 17:44:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EF791EF for ; Tue, 6 Mar 2018 17:44:39 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1520358254.ec836f1d982ca366a01b0d82fe6b54dd38bbfd36.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/astyle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/astyle/astyle-3.1-r1.ebuild X-VCS-Directories: dev-util/astyle/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: ec836f1d982ca366a01b0d82fe6b54dd38bbfd36 X-VCS-Branch: master Date: Tue, 6 Mar 2018 17:44:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0fdd976d-d452-4fe5-98bf-345d88c28af8 X-Archives-Hash: 3ff75b3ebbd564713a541975be603090 commit: ec836f1d982ca366a01b0d82fe6b54dd38bbfd36 Author: Virgil Dupras hardcoded net> AuthorDate: Tue Mar 6 17:27:03 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Tue Mar 6 17:44:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec836f1d 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 dev-util/astyle/astyle-3.1-r1.ebuild | 13 +++++++++---- 1 file 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 56d0130f89f..75d605a3c89 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