diff options
Diffstat (limited to 'dev-scheme/slib/slib-3.2.5-r2.ebuild')
-rw-r--r-- | dev-scheme/slib/slib-3.2.5-r2.ebuild | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/dev-scheme/slib/slib-3.2.5-r2.ebuild b/dev-scheme/slib/slib-3.2.5-r2.ebuild index ef77505b6a2a..8b903a95d860 100644 --- a/dev-scheme/slib/slib-3.2.5-r2.ebuild +++ b/dev-scheme/slib/slib-3.2.5-r2.ebuild @@ -62,19 +62,13 @@ src_install() { doenvd "${FILESDIR}"/50slib # guile - if has_version '=dev-scheme/guile-3.0*'; then - dodir /usr/share/guile/3.0 - dosym -r /usr/share/${PN}/ /usr/share/guile/3.0/${PN} - elif has_version '=dev-scheme/guile-2.2*'; then - dodir /usr/share/guile/2.2 - dosym -r /usr/share/${PN}/ /usr/share/guile/2.2/${PN} - elif has_version '=dev-scheme/guile-2.0*'; then - dodir /usr/share/guile/2.0 - dosym -r /usr/share/${PN}/ /usr/share/guile/2.0/${PN} - else - dodir /usr/share/guile/1.8 - dosym -r /usr/share/${PN}/ /usr/share/guile/1.8/${PN} - fi + for guile_version in 3.0 2.2 2.0 1.8 ; do + if has_version "=dev-scheme/guile-${guile_version}*" ; then + dodir /usr/share/guile/${guile_version} + dosym -r /usr/share/${PN}/ /usr/share/guile/${guile_version}/${PN} + break + fi + done # gambit use gambit && dodir /usr/share/gambc |