/[gentoo-x86]/net-wireless/wpa_supplicant/wpa_supplicant-0.5.0-r1.ebuild
Gentoo

Diff of /net-wireless/wpa_supplicant/wpa_supplicant-0.5.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/Attic/wpa_supplicant-0.5.0-r1.ebuild,v 1.2 2006/01/17 20:07:22 uberlord Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/Attic/wpa_supplicant-0.5.0-r1.ebuild,v 1.3 2006/02/27 21:49:53 brix Exp $
4 4
5inherit eutils toolchain-funcs 5inherit eutils toolchain-funcs
6 6
7MY_P=${PN}-${PV/_/-} 7MY_P=${PN}-${PV/_/-}
8S=${WORKDIR}/${MY_P} 8S=${WORKDIR}/${MY_P}
76 echo "CONFIG_DRIVER_WEXT=y" >> ${CONFIG} 76 echo "CONFIG_DRIVER_WEXT=y" >> ${CONFIG}
77 echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} 77 echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG}
78 78
79 if use madwifi; then 79 if use madwifi; then
80 # Add include path for madwifi-driver headers 80 # Add include path for madwifi-driver headers
81 echo "CFLAGS += -I/usr/include/madwifi" >> ${CONFIG} 81 echo "CFLAGS += -I${ROOT}/usr/include/madwifi" >> ${CONFIG}
82 echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} 82 echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG}
83 fi 83 fi
84} 84}
85 85
86src_compile() { 86src_compile() {
87 emake || die "emake failed" 87 emake || die "emake failed"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20