diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2006-12-30 22:40:57 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2006-12-30 22:40:57 +0000 |
commit | bb8dae33e17d3bacf018444e5cccfe122bbd3fce (patch) | |
tree | 7ded9f7af5b6739aa7fa1d301bf9f9a24aaa0167 /comms | |
parent | 215359b5a5af34d717f1da4a2764621db6cd4e7b (diff) | |
download | pkgsrc-bb8dae33e17d3bacf018444e5cccfe122bbd3fce.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/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" |