From: Jeroen Roovers Date: Mon, 11 Nov 2019 20:43:56 +0000 (+0100) Subject: app-admin/sysstat: Work around AC_ARG_ENABLE(debuginfo, ...) bug X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b4b14f78594fdf20ed41efcb38ece623a0e5b72;p=gentoo.git app-admin/sysstat: Work around AC_ARG_ENABLE(debuginfo, ...) bug --[dis|en]able-debuginfo=[yes|no] is always interpreted to enable debuginfo, so pass --enable-debuginfo only when USE=debug and nothing when USE=-debug. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=699884 Signed-off-by: Jeroen Roovers --- diff --git a/app-admin/sysstat/sysstat-12.0.6.ebuild b/app-admin/sysstat/sysstat-12.0.6-r1.ebuild similarity index 97% rename from app-admin/sysstat/sysstat-12.0.6.ebuild rename to app-admin/sysstat/sysstat-12.0.6-r1.ebuild index a0e5561580a3..0566f5270e51 100644 --- a/app-admin/sysstat/sysstat-12.0.6.ebuild +++ b/app-admin/sysstat/sysstat-12.0.6-r1.ebuild @@ -53,9 +53,9 @@ src_configure() { sa_lib_dir=/usr/lib/sa \ conf_dir=/etc \ econf \ - $(use_enable debug debuginfo) \ $(use_enable lm-sensors sensors) \ $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ --enable-copy-only \ --enable-documentation \ --enable-install-cron \ diff --git a/app-admin/sysstat/sysstat-12.2.0.ebuild b/app-admin/sysstat/sysstat-12.2.0-r1.ebuild similarity index 97% rename from app-admin/sysstat/sysstat-12.2.0.ebuild rename to app-admin/sysstat/sysstat-12.2.0-r1.ebuild index 79183431381f..cbea517ec677 100644 --- a/app-admin/sysstat/sysstat-12.2.0.ebuild +++ b/app-admin/sysstat/sysstat-12.2.0-r1.ebuild @@ -53,9 +53,9 @@ src_configure() { sa_lib_dir=/usr/lib/sa \ conf_dir=/etc \ econf \ - $(use_enable debug debuginfo) \ $(use_enable lm-sensors sensors) \ $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ --enable-copy-only \ --enable-documentation \ --enable-install-cron \ diff --git a/app-admin/sysstat/sysstat-999999.ebuild b/app-admin/sysstat/sysstat-999999.ebuild index fcefb54fdf3c..cb4326bb2054 100644 --- a/app-admin/sysstat/sysstat-999999.ebuild +++ b/app-admin/sysstat/sysstat-999999.ebuild @@ -53,9 +53,9 @@ src_configure() { sa_lib_dir=/usr/lib/sa \ conf_dir=/etc \ econf \ - $(use_enable debug debuginfo) \ $(use_enable lm-sensors sensors) \ $(use_enable nls) \ + $(usex debug --enable-debuginfo '') \ --enable-copy-only \ --enable-documentation \ --enable-install-cron \