mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
net-wireless/hostapd: Allow users to apply patches to src/drivers
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=596306#c5 Package-Manager: portage-2.3.2
This commit is contained in:
@@ -30,7 +30,11 @@ RDEPEND="${DEPEND}"
|
||||
S="${S}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
# Allow users to apply patches to src/drivers for example,
|
||||
# i.e. anything outside ${S}/${PN}
|
||||
pushd ../ >/dev/null || die
|
||||
default
|
||||
popd >/dev/null || die
|
||||
|
||||
sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \
|
||||
"${S}/hostapd.conf" || die
|
||||
|
||||
Reference in New Issue
Block a user