diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-26 12:26:06 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-08-26 12:32:36 +0100 |
commit | 568894d9234df5ea6c041ca28f3f58461e41ecc4 (patch) | |
tree | 688b35438ce58cace54f059aea21b8e90c0da1a5 /dev-haskell/stack-bin | |
parent | sys-apps/haveged: keyword ~ppc (diff) | |
download | gentoo-568894d9234df5ea6c041ca28f3f58461e41ecc4.tar.gz gentoo-568894d9234df5ea6c041ca28f3f58461e41ecc4.tar.bz2 gentoo-568894d9234df5ea6c041ca28f3f58461e41ecc4.zip |
dev-haskell/stack-bin: add USE=symlink to live inside /usr/bin/stack, bug #627446
Reported-by: crocket
Bug: https://bugs.gentoo.org/627446
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-haskell/stack-bin')
-rw-r--r-- | dev-haskell/stack-bin/stack-bin-1.5.1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild b/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild index 624ecf2f7aa6..5638974f850a 100644 --- a/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild +++ b/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild @@ -19,13 +19,14 @@ SRC_URI=" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~arm" -IUSE="" +IUSE="symlink" DEPEND="" RDEPEND="${DEPEND} sys-libs/zlib dev-libs/gmp:0 " +RDEPEND+=" symlink? ( !dev-haskell/stack )" S=${WORKDIR} @@ -42,4 +43,5 @@ src_prepare() { src_install() { dodoc doc/* dobin stack-bin + use symlink && dosym stack-bin /usr/bin/stack } |