diff options
-rw-r--r-- | packages/dev-lang/clojure/clojure-1.4.0.exheres-0 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 index 14f1159..73feb86 100644 --- a/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 +++ b/packages/dev-lang/clojure/clojure-1.4.0.exheres-0 @@ -3,7 +3,7 @@ # Based in part upon 'clojure-1.4.0.ebuild' from Gentoo, which is: # Copyright 1999-2012 Gentoo Foundation -require ant +require alternatives ant SUMMARY="Clojure is a dynamic programming language that targets the Java Virtual Machine" HOMEPAGE="http://clojure.org/" @@ -38,8 +38,8 @@ src_install() { exeinto /usr/bin/ doexe ${FILES}/${SHORT_PNV} - # Is this ethical? - dosym /usr/bin/${SHORT_PNV} /usr/bin/${PN} + alternatives_for ${PN} ${SLOT} 0 \ + "/usr/bin/${PN}" "${SHORT_PNV}" dodoc changes.md readme.txt } |