summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2009-06-29 15:32:34 +0000
committerjoerg <joerg>2009-06-29 15:32:34 +0000
commit1ba692844a66abdcbd5c2d1eb7d061ac49714630 (patch)
tree2e7b89cfa038e5e10f7896d2b04d9c4479877a60
parentcf0d3ed02f9185af0de683a549009bd72a751949 (diff)
downloadpkgsrc-1ba692844a66abdcbd5c2d1eb7d061ac49714630.tar.gz
dbus option needs pkg-config.
-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