diff --git a/srcpkgs/wpa_supplicant/template b/srcpkgs/wpa_supplicant/template index cb93965b5a8..1341fff8628 100644 --- a/srcpkgs/wpa_supplicant/template +++ b/srcpkgs/wpa_supplicant/template @@ -1,14 +1,14 @@ # Template file for 'wpa_supplicant' pkgname=wpa_supplicant -version=2.0 -revision=3 +version=2.1 +revision=1 build_wrksrc=$pkgname short_desc="WPA/WPA2/IEEE 802.1X Supplicant" maintainer="Juan RP " license="GPL-2" homepage="http://hostap.epitest.fi" distfiles="$homepage/releases/$pkgname-$version.tar.gz" -checksum=2c115609fbb5223d51381084a5c944455a8afcda81d584173ff55ba233379e09 +checksum=91632e7e3b49a340ce408e2f978a93546a697383abf2e5a60f146faae9e1b277 hostmakedepends="pkg-config" makedepends="libnl3-devel openssl-devel dbus-devel readline-devel" @@ -20,7 +20,7 @@ pre_build() { } do_build() { - CFLAGS+=" -I$XBPS_CROSS_BASE/usr/include/libnl3" + export CFLAGS+=" $(pkg-config --cflags libnl-3.0)" make ${make_build_args} V=1 PREFIX=/usr }