commit: 39f0ae3fe1259d17abc10cc0b21e2c9820089292 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Nov 1 18:19:35 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Nov 6 15:34:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f0ae3f
app-portage/eix: Remove invalid and useless USE flags Remove the USE flags violating different QA policies or being useless, in particular: flags used to control *FLAGS, flags used to alter configuration file, flags used to switch between building separate executables and symlinks to one executable. For the former, unconditionally disable altering user's *FLAGS. For the latter, force the defaults. app-portage/eix/eix-0.32.1.ebuild | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/app-portage/eix/eix-0.32.1.ebuild b/app-portage/eix/eix-0.32.1.ebuild index c6effcd..57695a9 100644 --- a/app-portage/eix/eix-0.32.1.ebuild +++ b/app-portage/eix/eix-0.32.1.ebuild @@ -14,8 +14,7 @@ SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug +dep doc nls optimization +required-use security strong-optimization - strong-security sqlite swap-remote tools" +IUSE="debug doc nls sqlite" BOTHDEPEND="nls? ( virtual/libintl ) sqlite? ( >=dev-db/sqlite-3:= )" @@ -41,22 +40,32 @@ src_prepare() { src_configure() { local myconf=( - $(use_enable debug debugging) + $(use_enable debug paranoicasserts) $(use_enable nls) - $(use_enable optimization) - $(use_enable security) - $(use_enable strong-optimization) - $(use_enable strong-security) - $(use_enable swap-remote) - $(use_enable tools separate-tools) - $(use_with dep dep-default) $(use_with doc extra-doc) - $(use_with prefix always-accept-keywords) - $(use_with required-use required-use-default) $(use_with sqlite) - --with-zsh-completion + + # default configuration + $(use_with prefix always-accept-keywords) + --with-dep-default + --with-required-use-default + + # paths --with-portage-rootpath="${ROOTPATH}" --with-eprefix-default="${EPREFIX}" + + # build a single executable with symlinks + --disable-separate-binaries + --disable-separate-tools + + # used purely to control/disrespect *FLAGS + --disable-debugging + --disable-new_dialect + --disable-optimization + --disable-strong-optimization + --disable-security + --disable-nopie-security + --disable-strong-security ) econf "${myconf[@]}"
