From: APTX Date: Wed, 11 May 2011 17:59:09 +0000 (+0200) Subject: Make use flags do something X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=0869767fb17fbb85e1d38872cf26b8971aa2dbc3;p=anidbudpclient-overlay.git Make use flags do something --- diff --git a/app-anidbudpclient/anidbudpclient/anidbudpclient-9999.ebuild b/app-anidbudpclient/anidbudpclient/anidbudpclient-9999.ebuild index 2f9dcf4..aea2941 100755 --- a/app-anidbudpclient/anidbudpclient/anidbudpclient-9999.ebuild +++ b/app-anidbudpclient/anidbudpclient/anidbudpclient-9999.ebuild @@ -14,12 +14,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" # none for now -IUSE="+proxy +renametool debug" +IUSE="+proxy +renameparser debug" # x11-libs/libqxt depends on gui/X even though it is not requird nor needed for this ebuild DEPEND=" >=x11-libs/qt-core-4.7 - renametool? ( >=x11-libs/qt-script-4.7 ) + renameparser? ( >=x11-libs/qt-script-4.7 ) proxy? ( >=x11-libs/libqxt-0.6.0 ) " RDEPEND="${DEPEND}" @@ -29,7 +29,14 @@ src_unpack() { } src_configure() { - eqmake4 -recursive + if ! use proxy ; then + DISABLE_PROXY="CONFIG+=noproxy" + fi + if ! use renameparser ; then + DISABLE_PROXY="CONFIG+=norenameparser" + fi + + eqmake4 ${DISABLE_PROXY} ${DISABLE_RENAMEPARSER} -recursive } src_install() { diff --git a/profiles/repo_name b/profiles/repo_name old mode 100644 new mode 100755