Closes: https://github.com/gentoo/gentoo/pull/3004
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="3"
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"
}