commit:     9c629c34c4d245facc867e068119c0b52456a850
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 19 09:32:29 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 19 09:32:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c629c34

dev-ada/gnatcoll-core: build something

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild 
b/dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild
index 58f464be487e..3d1edf36345a 100644
--- a/dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild
+++ b/dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86"
 IUSE="+shared static-libs static-pic"
+REQUIRED_USE="|| ( shared static-libs static-pic )
+       ${ADA_REQUIRED_USE}"
 
 RDEPEND="
        || (
@@ -25,8 +27,6 @@ RDEPEND="
 DEPEND="${RDEPEND}
        dev-ada/gprbuild[${ADA_USEDEP}]"
 
-REQUIRED_USE="${ADA_REQUIRED_USE}"
-
 PATCHES=( "${FILESDIR}"/${PN}-2018-gentoo.patch )
 
 src_prepare() {
@@ -51,12 +51,12 @@ src_compile() {
        if use shared; then
                build relocatable
        fi
-       if use static-pic; then
-               build static-pic
-       fi
        if use static-libs; then
                build static
        fi
+       if use static-pic; then
+               build static-pic
+       fi
 }
 
 src_install() {

Reply via email to