summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2016-11-24 02:49:49 +0100
committerThomas Deutschmann <whissi@gentoo.org>2016-11-24 02:50:39 +0100
commit0e0eafba82bba0fa9144acdcd97c1936a3b9d6ab (patch)
treef4bd52d04f7c6cc3ff672b7c67edf1e283165f8d /net-wireless
parentsys-process/xjobs: remove old xjobs-20140125. (diff)
downloadgentoo-0e0eafba82bba0fa9144acdcd97c1936a3b9d6ab.tar.gz
gentoo-0e0eafba82bba0fa9144acdcd97c1936a3b9d6ab.tar.bz2
gentoo-0e0eafba82bba0fa9144acdcd97c1936a3b9d6ab.zip
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
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/hostapd/hostapd-2.6.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-wireless/hostapd/hostapd-2.6.ebuild b/net-wireless/hostapd/hostapd-2.6.ebuild
index 019ff131c7a5..121ed83773de 100644
--- a/net-wireless/hostapd/hostapd-2.6.ebuild
+++ b/net-wireless/hostapd/hostapd-2.6.ebuild
@@ -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