summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-13 16:05:47 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-13 16:05:47 +0100
commitb9881de4b9f796f2ab7c6723607b6b775de3caf5 (patch)
treed9cfaf5f3034af1cc9c599e75ea355e93733d756
parentdev-util/omake: Assign RESTRICT only once. (diff)
downloadgentoo-b9881de4b9f796f2ab7c6723607b6b775de3caf5.tar.gz
gentoo-b9881de4b9f796f2ab7c6723607b6b775de3caf5.tar.bz2
gentoo-b9881de4b9f796f2ab7c6723607b6b775de3caf5.zip
net-misc/unison: Assign RESTRICT only once.
Closes: https://bugs.gentoo.org/699200 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--net-misc/unison/unison-2.48.4-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/unison/unison-2.48.4-r1.ebuild b/net-misc/unison/unison-2.48.4-r1.ebuild
index a66ce2813301..3cbf95371a25 100644
--- a/net-misc/unison/unison-2.48.4-r1.ebuild
+++ b/net-misc/unison/unison-2.48.4-r1.ebuild
@@ -7,6 +7,10 @@ IUSE="gtk doc static debug threads +ocamlopt test"
DESCRIPTION="Two-way cross-platform file synchronizer"
HOMEPAGE="https://www.seas.upenn.edu/~bcpierce/unison/"
+SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz
+ doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf
+ https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )"
+
LICENSE="GPL-2"
SLOT="$(ver_cut 1-2)"
KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
@@ -15,7 +19,7 @@ KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~spar
# "Skipping some tests -- remove me!". Given the potentially destructive nature
# of those tests, let's not try to run them (they're re-enabled in subsequent
# releases).
-RESTRICT="test"
+RESTRICT="test !ocamlopt? ( strip )"
# ocaml version so we are sure it has ocamlopt use flag
DEPEND="dev-lang/ocaml[ocamlopt?]
@@ -25,10 +29,6 @@ RDEPEND="gtk? ( dev-ml/lablgtk
|| ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) )
>=app-eselect/eselect-unison-0.4"
-RESTRICT+=" !ocamlopt? ( strip )"
-SRC_URI="https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}.tar.gz
- doc? ( https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.pdf
- https://www.seas.upenn.edu/~bcpierce/unison/download/releases/${P}/${P}-manual.html )"
S="${WORKDIR}"/src
PATCHES=( "${FILESDIR}"/${PN}-2.48.4-Makefile-dep.patch )