commit:     e78b74c41d8fdb9ebb95acba7dd220a85e6b1217
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  5 16:25:04 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Nov  5 16:25:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78b74c4

net-misc/dhcpcd: prefer use_enable over usex for "debug" USE flag

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/dhcpcd/dhcpcd-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild 
b/net-misc/dhcpcd/dhcpcd-9999.ebuild
index 8b3e6da7b2f..e83bb217a35 100644
--- a/net-misc/dhcpcd/dhcpcd-9999.ebuild
+++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild
@@ -34,9 +34,9 @@ src_configure() {
                --localstatedir="${EPREFIX}/var"
                --prefix="${EPREFIX}"
                --with-hook=ntp.conf
+               $(use_enable debug)
                $(use_enable embedded)
                $(use_enable ipv6)
-               $(usex debug --debug '')
                $(usex elibc_glibc '--with-hook=yp.conf' '')
                $(usex kernel_linux '--rundir=${EPREFIX}/run' '')
                $(usex udev '' '--without-dev --without-udev')

Reply via email to