pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/obexapp Don't build this package on NetBSD if /u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cfcd6c4c0f2
branches:  trunk
changeset: 522923:0cfcd6c4c0f2
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Dec 30 22:40:57 2006 +0000

description:
Don't build this package on NetBSD if /usr/include/bluetooth.h
is not available.

diffstat:

 comms/obexapp/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 80f1fa7cbead -r 0cfcd6c4c0f2 comms/obexapp/Makefile
--- a/comms/obexapp/Makefile    Sat Dec 30 18:07:53 2006 +0000
+++ b/comms/obexapp/Makefile    Sat Dec 30 22:40:57 2006 +0000
@@ -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 @@
 # 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"



Home | Main Index | Thread Index | Old Index