summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-08-13 11:16:49 +0000
committerRoy Marples <uberlord@gentoo.org>2006-08-13 11:16:49 +0000
commit8f7b9bd346e031e9ca53e32c76cc690e30875873 (patch)
treeee0302674628d5cc996ef150305652b2b1806b3f /net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild
parentAdd jfs ntfs, reiserfs, xfs for sys-apps/qtparted - bug #101307 (diff)
downloadgentoo-2-8f7b9bd346e031e9ca53e32c76cc690e30875873.tar.gz
gentoo-2-8f7b9bd346e031e9ca53e32c76cc690e30875873.tar.bz2
gentoo-2-8f7b9bd346e031e9ca53e32c76cc690e30875873.zip
Recomment out openct stuff
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild')
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild
index 36bdbfb81859..af029731e121 100644
--- a/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild,v 1.7 2006/08/13 10:58:13 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.5.4.ebuild,v 1.8 2006/08/13 11:16:49 uberlord Exp $
inherit eutils toolchain-funcs
@@ -106,6 +106,14 @@ src_unpack() {
echo "CONFIG_DRIVER_BSD=y" >> "${CONFIG}"
fi
+ # people seem to take the example configuration file too literally
+ # bug #102361
+ sed -i \
+ -e "s:^\(opensc_engine_path\):#\1:" \
+ -e "s:^\(pkcs11_engine_path\):#\1:" \
+ -e "s:^\(pkcs11_module_path\):#\1:" \
+ ${S}/wpa_supplicant.conf || die
+
# Change configuration to match Gentoo locations, #143750
sed -i \
-e "s:/usr/lib/opensc:/usr/$(get_libdir):" \