summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/squashmerge/squashmerge-9999.ebuild')
-rw-r--r--dev-util/squashmerge/squashmerge-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-util/squashmerge/squashmerge-9999.ebuild b/dev-util/squashmerge/squashmerge-9999.ebuild
index 7250301d0d93..ed1de8bdf2de 100644
--- a/dev-util/squashmerge/squashmerge-9999.ebuild
+++ b/dev-util/squashmerge/squashmerge-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/squashmerge/squashmerge-9999.ebuild,v 1.2 2014/02/12 08:01:24 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/squashmerge/squashmerge-9999.ebuild,v 1.3 2014/03/24 17:45:28 mgorny Exp $
EAPI=5
@@ -20,7 +20,7 @@ SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="lz4 lzo"
+IUSE="lz4 +lzo"
#if LIVE
KEYWORDS=
@@ -34,6 +34,9 @@ RDEPEND="${COMMON_DEPEND}
dev-util/xdelta:3"
DEPEND=${COMMON_DEPEND}
+# SquashDelta does not make much sense without a compression algo.
+REQUIRED_USE="|| ( lz4 lzo )"
+
src_configure() {
local myeconfargs=(
$(use_enable lz4)