net-misc/dhcpcd: prefer use_enable over usex for "debug" USE flag
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 5 Nov 2019 16:25:04 +0000 (17:25 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 5 Nov 2019 16:25:04 +0000 (17:25 +0100)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-misc/dhcpcd/dhcpcd-9999.ebuild

index 8b3e6da7b2f07edec0496ba2b9083c23da27638e..e83bb217a35acfa28c22685320592dbcbc7d00c5 100644 (file)
@@ -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')