diff options
author | xtraeme <xtraeme> | 2006-12-30 22:40:57 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2006-12-30 22:40:57 +0000 |
commit | b573121f7d12d069a8ec14d474bf9e824998db9a (patch) | |
tree | 7ded9f7af5b6739aa7fa1d301bf9f9a24aaa0167 | |
parent | 696f046309782f4be84cc8b4350f3666d724442d (diff) | |
download | pkgsrc-b573121f7d12d069a8ec14d474bf9e824998db9a.tar.gz |
Don't build this package on NetBSD if /usr/include/bluetooth.h
is not available.
-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" |