From fe557e13aa08005929af052e987040ea144902bb Mon Sep 17 00:00:00 2001 From: bschmidt Date: Sun, 29 Apr 2012 12:48:52 +0000 Subject: Fix WITHOUT_EXAMPLES build: While removing unnecessary entries from .PATH.c I missed that for the examples WPA_SUPPLICANT_DISTDIR/HOSTAPD_DISTDIR is explicitly added to .PATH. Tested by: lev MFC after: 2 weeks --- usr.sbin/wpa/hostapd/Makefile | 3 ++- usr.sbin/wpa/wpa_supplicant/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'usr.sbin/wpa') diff --git a/usr.sbin/wpa/hostapd/Makefile b/usr.sbin/wpa/hostapd/Makefile index 84835e5..273c127 100644 --- a/usr.sbin/wpa/hostapd/Makefile +++ b/usr.sbin/wpa/hostapd/Makefile @@ -2,7 +2,8 @@ .include "${.CURDIR}/../Makefile.inc" -.PATH.c:${WPA_DISTDIR}/src/drivers +.PATH.c:${HOSTAPD_DISTDIR} \ + ${WPA_DISTDIR}/src/drivers PROG= hostapd SRCS= accounting.c \ diff --git a/usr.sbin/wpa/wpa_supplicant/Makefile b/usr.sbin/wpa/wpa_supplicant/Makefile index 8a2340b..6c352ab 100644 --- a/usr.sbin/wpa/wpa_supplicant/Makefile +++ b/usr.sbin/wpa/wpa_supplicant/Makefile @@ -2,7 +2,8 @@ .include "${.CURDIR}/../Makefile.inc" -.PATH.c:${WPA_DISTDIR}/src/drivers +.PATH.c:${WPA_SUPPLICANT_DISTDIR} \ + ${WPA_DISTDIR}/src/drivers PROG= wpa_supplicant SRCS= aes-unwrap.c \ -- cgit v1.1