summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-05-15 13:11:57 +0000
committerxtraeme <xtraeme>2007-05-15 13:11:57 +0000
commit3f50c865c195ed6e58f996dd21ac7d139d8b705d (patch)
treeebb67bd139ae9e843b8d9cebd8bb8ff0f32b3e01 /comms
parente3bed9e515986afe444c2cb5a6c77e49ed1e3bbe (diff)
downloadpkgsrc-3f50c865c195ed6e58f996dd21ac7d139d8b705d.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')
-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