summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-07-07 22:35:02 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-07-07 22:35:02 +0200
commita85826a8a5e0f6e364942456ae3625b8b04600e3 (patch)
treec173598293f9b9dc1883ff0b832e99e59ee9ab67 /dev-ada
parentdev-ada/gprbuild: Fix "-r and -pie may not be used together" error (diff)
downloadgentoo-a85826a8a5e0f6e364942456ae3625b8b04600e3.tar.gz
gentoo-a85826a8a5e0f6e364942456ae3625b8b04600e3.tar.bz2
gentoo-a85826a8a5e0f6e364942456ae3625b8b04600e3.zip
dev-ada/gnatcoll-bindings: Allow selection of static via LIBRARY_TYPE
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
index 4cc7fcaf6a9b..8c6d81608c04 100644
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
@@ -74,6 +74,12 @@ src_install() {
done
fi
done
+ if use iconv; then
+ sed -i \
+ -e "s:GNATCOLL_ICONV_BUILD:LIBRARY_TYPE:" \
+ "${D}"/usr/share/gpr/gnatcoll_iconv.gpr \
+ || die
+ fi
rm -r "${D}"/usr/share/gpr/manifests || die
einstalldocs
}