summaryrefslogtreecommitdiff
path: root/comms/openobex
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-05-15 13:11:57 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-05-15 13:11:57 +0000
commitc87eeeba71cb3d16f0a1f6b49ab7583fe6310482 (patch)
treeebb67bd139ae9e843b8d9cebd8bb8ff0f32b3e01 /comms/openobex
parent59003defcafa7bb28ff87484f38cdca7f772d47f (diff)
downloadpkgsrc-c87eeeba71cb3d16f0a1f6b49ab7583fe6310482.tar.gz
NetBSD needs to include <bluetooth.h> for bdaddr_t, change the
SUBST magic for this, that's required to make the upcoming fuse-obexfs package work. Bump PKGREVISION.
Diffstat (limited to 'comms/openobex')
-rw-r--r--comms/openobex/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index e6e147d352d..da8131fefd7 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2006/12/19 18:09:23 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2007/05/15 13:11:57 xtraeme Exp $
#
DISTNAME= openobex-1.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openobex/}
@@ -22,7 +22,8 @@ PKGCONFIG_OVERRIDE= openobex.pc.in
SUBST_CLASSES+= bt
SUBST_STAGE.bt= post-patch
SUBST_FILES.bt= include/obex.h
-SUBST_SED.bt= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|"
+SUBST_SED.bt= -e "s|\#ifndef SOL_RFCOMM|\#ifdef __NetBSD__|"
+SUBST_SED.bt+= -e "s|typedef char\* bdaddr_t\;|\#include \<bluetooth.h\>|"
SUBST_MESSAGE.bt= Fixing bluetooth detection.
.endif