mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user