summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/wpa/hostapd/Makefile3
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Makefile3
2 files changed, 4 insertions, 2 deletions
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 \
OpenPOWER on IntegriCloud