diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/obexapp/Makefile | 8 |
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" |