pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/openobex NetBSD needs to include <bluetooth.h> f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d8d2668532e
branches:  trunk
changeset: 528760:4d8d2668532e
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Tue May 15 13:11:57 2007 +0000

description:
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:

 comms/openobex/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 2a38d37b64b2 -r 4d8d2668532e comms/openobex/Makefile
--- a/comms/openobex/Makefile   Tue May 15 13:04:29 2007 +0000
+++ b/comms/openobex/Makefile   Tue May 15 13:11:57 2007 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index