Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/stack-bin/
Date: Sat, 26 Aug 2017 11:32:43
Message-Id: 1503747156.568894d9234df5ea6c041ca28f3f58461e41ecc4.slyfox@gentoo
1 commit: 568894d9234df5ea6c041ca28f3f58461e41ecc4
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 26 11:26:06 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 26 11:32:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568894d9
7
8 dev-haskell/stack-bin: add USE=symlink to live inside /usr/bin/stack, bug #627446
9
10 Reported-by: crocket
11 Bug: https://bugs.gentoo.org/627446
12 Package-Manager: Portage-2.3.8, Repoman-2.3.3
13
14 dev-haskell/stack-bin/stack-bin-1.5.1.ebuild | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild b/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild
18 index 624ecf2f7aa..5638974f850 100644
19 --- a/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild
20 +++ b/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild
21 @@ -19,13 +19,14 @@ SRC_URI="
22 LICENSE="BSD"
23 SLOT="0"
24 KEYWORDS="~amd64 ~x86 ~arm"
25 -IUSE=""
26 +IUSE="symlink"
27
28 DEPEND=""
29 RDEPEND="${DEPEND}
30 sys-libs/zlib
31 dev-libs/gmp:0
32 "
33 +RDEPEND+=" symlink? ( !dev-haskell/stack )"
34
35 S=${WORKDIR}
36
37 @@ -42,4 +43,5 @@ src_prepare() {
38 src_install() {
39 dodoc doc/*
40 dobin stack-bin
41 + use symlink && dosym stack-bin /usr/bin/stack
42 }