summaryrefslogtreecommitdiff
path: root/net/wpa_supplicant
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-06-29 15:32:34 +0000
committerjoerg <joerg@pkgsrc.org>2009-06-29 15:32:34 +0000
commit3e8345a09b56af7ed3d6a5a265c9572d0443aa6f (patch)
tree2e7b89cfa038e5e10f7896d2b04d9c4479877a60 /net/wpa_supplicant
parentd1438e1b69e8b537c5158d660401ca44b8cd42bb (diff)
downloadpkgsrc-3e8345a09b56af7ed3d6a5a265c9572d0443aa6f.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