summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2006-12-30 22:40:57 +0000
committerxtraeme <xtraeme>2006-12-30 22:40:57 +0000
commitdf7e810e1be7bc91d84ad74d1e4be2fc9da39b35 (patch)
tree7ded9f7af5b6739aa7fa1d301bf9f9a24aaa0167 /comms
parent666a1ca219d526109a97143ee2d178acbf2b83d4 (diff)
downloadpkgsrc-df7e810e1be7bc91d84ad74d1e4be2fc9da39b35.tar.gz
Don't build this package on NetBSD if /usr/include/bluetooth.h
is not available.
Diffstat (limited to 'comms')
-rw-r--r--comms/obexapp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/comms/obexapp/Makefile b/comms/obexapp/Makefile
index d178339a119..1e3310a1826 100644
--- a/comms/obexapp/Makefile
+++ b/comms/obexapp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/07/09 16:35:31 xtraeme Exp $
+# $NetBSD: Makefile,v 1.4 2006/12/30 22:40:57 xtraeme Exp $
#
DISTNAME= obexapp-1.4.4
@@ -27,6 +27,12 @@ USE_GNU_ICONV= yes
# Sigh... too many warnings with GCC 4.x, disable them for now.
CFLAGS+= -w
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == "NetBSD" && !exists(/usr/include/bluetooth.h))
+PKG_FAIL_REASON+= Does not build without bluetooth support.
+.endif
+
.include "../../comms/openobex/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"