diff options
author | Guillermo Ramos | 2012-09-07 16:31:30 +0000 |
---|---|---|
committer | Guillermo Ramos | 2012-09-07 16:31:30 +0000 |
commit | 4578f5735710f4f6ea8dcdf0c998bd47bfab4487 (patch) | |
tree | a9fb413f24ff7c9e430729a03ab534fa006371b7 /packages | |
parent | 7bf1afc97cc81592b2423f0182ef9bc5fcf2f327 (diff) | |
download | exheres-4578f5735710f4f6ea8dcdf0c998bd47bfab4487.tar.gz |
Make clojure use alternatives instead of symlinks
Diffstat (limited to 'packages')
-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 } |