commit:     54cc9bfbaccdfb6c7113c4e7ed9475265b4412f9
Author:     Amir Ghassemi Nasr <Ameretat.Reith <AT> gmail <DOT> com>
AuthorDate: Sun Dec  4 08:05:23 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 21 21:03:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54cc9bfb

net-analyzer/tsung: Add USE=gnuplot, #594340

Closes: https://github.com/gentoo/gentoo/pull/3004

 net-analyzer/tsung/tsung-1.6.0.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/tsung/tsung-1.6.0.ebuild 
b/net-analyzer/tsung/tsung-1.6.0.ebuild
index 392db3cc455..532e451fbaf 100644
--- a/net-analyzer/tsung/tsung-1.6.0.ebuild
+++ b/net-analyzer/tsung/tsung-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="3"
@@ -15,11 +15,16 @@ SRC_URI="http://tsung.erlang-projects.org/dist/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="gnuplot"
 
 DEPEND="dev-lang/erlang"
-RDEPEND=${DEPEND}
-
+RDEPEND="
+       gnuplot? (
+               sci-visualization/gnuplot
+               dev-perl/Template-Toolkit
+       )
+       ${DEPEND}
+"
 src_configure() {
        ./configure --prefix="/usr" || die "econf failed"
 }

Reply via email to