diff options
-rw-r--r-- | dev-ada/gnatcoll-core/gnatcoll-core-22.0.0.ebuild | 10 |
1 files 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() { |