summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-26 17:36:45 -0400
committerSam James <sam@gentoo.org>2024-05-26 23:42:36 +0100
commitb521d467ff331341162586bc96d5f969d630ad2f (patch)
tree3c35801ee70f25c9096a6aea09492a04736397ad /net-misc
parentdev-python/signedjson: enable py3.13 (diff)
downloadgentoo-b521d467ff331341162586bc96d5f969d630ad2f.tar.gz
gentoo-b521d467ff331341162586bc96d5f969d630ad2f.tar.bz2
gentoo-b521d467ff331341162586bc96d5f969d630ad2f.zip
net-misc/dhcp: fix variable reordering leading to undefined variable in RDEPEND
BDEPEND is expanded in RDEPEND, so it has to come first. Fixes failure to depend on acct-*/ packages at runtime, i.e. no guarantee when installing with binpkgs / depcleaning that accounts will be usable anymore. Fixes: 0762acb5ac0a3f951d4c7d96c1608aa98ef6cae2 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild (renamed from net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild
index f7cc414209db..82f6478828a7 100644
--- a/net-misc/dhcp/dhcp-4.4.3_p1-r5.ebuild
+++ b/net-misc/dhcp/dhcp-4.4.3_p1-r6.ebuild
@@ -25,6 +25,10 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
IUSE="+client ipv6 ldap selinux +server ssl vim-syntax"
+BDEPEND="
+ acct-group/dhcp
+ acct-user/dhcp
+"
DEPEND="
sys-libs/zlib:=
client? (
@@ -43,10 +47,6 @@ RDEPEND="
selinux? ( sec-policy/selinux-dhcp )
vim-syntax? ( app-vim/dhcpd-syntax )
"
-BDEPEND="
- acct-group/dhcp
- acct-user/dhcp
-"
PATCHES=(
# Gentoo patches - these will probably never be accepted upstream