From e153914b3212d9bcf02500bbbab0746cbc4834d1 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Mon, 2 Dec 2013 22:27:59 +0000 Subject: Added myeconfargs so the USE flags actually affect the compilation --- sci-libs/xraylib/xraylib-2.16.0.ebuild | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'sci-libs/xraylib') diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild index e699dffdb..889f1bf19 100644 --- a/sci-libs/xraylib/xraylib-2.16.0.ebuild +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/tschoonj/xraylib/archive/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="cxx examples fortran java lua perl python" +IUSE="cxx examples fortran java lua perl php python ruby" DEPEND="fortran? ( virtual/fortran ) java? ( virtual/jdk ) @@ -23,3 +23,21 @@ DEPEND="fortran? ( virtual/fortran ) ${PYTHON_DEPS}" RDEPEND="${DEPEND}" + +src_configure() { + local myeconfargs=( + --disable-idl + $(use-enable fortran fortran2003) + $(use-enable java) + $(use-enable lua) + $(use-enable perl) + $(use-enable perl perl-integration) + $(use-enable php) + $(use-enable php php-integration) + $(use-enable python) + $(use-enable python python-integration) + $(use-enable ruby) + $(use-enable ruby ruby-integration) + ) + autotools-utils_src_configure +} -- cgit v1.2.3-65-gdbad