summaryrefslogtreecommitdiff
path: root/net/wpa_supplicant
diff options
context:
space:
mode:
authorjoerg <joerg>2009-06-29 15:32:34 +0000
committerjoerg <joerg>2009-06-29 15:32:34 +0000
commit914a918636dd1265ebbbb1983f7c9565e7319750 (patch)
tree2e7b89cfa038e5e10f7896d2b04d9c4479877a60 /net/wpa_supplicant
parent36def0234b400d05baa3ff9159b7d4c4cb2a85e9 (diff)
downloadpkgsrc-914a918636dd1265ebbbb1983f7c9565e7319750.tar.gz
dbus option needs pkg-config.
Diffstat (limited to 'net/wpa_supplicant')
-rw-r--r--net/wpa_supplicant/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/wpa_supplicant/Makefile b/net/wpa_supplicant/Makefile
index 950a15b7d6d..951a1eab955 100644
--- a/net/wpa_supplicant/Makefile
+++ b/net/wpa_supplicant/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2009/05/11 22:47:04 roy Exp $
+# $NetBSD: Makefile,v 1.5 2009/06/29 15:32:34 joerg Exp $
#
DISTNAME= wpa_supplicant-0.6.9
@@ -24,6 +24,10 @@ PKG_SUGGESTED_OPTIONS= dbus
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mdbus)
+USE_TOOLS+= pkg-config
+.endif
+
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD"
CPPFLAGS+= -DNEW_FREEBSD_MLME_ASSOC
.endif