--[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 <jer@gentoo.org>
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 \
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 \
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 \