diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2007-05-15 13:11:57 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2007-05-15 13:11:57 +0000 |
commit | c87eeeba71cb3d16f0a1f6b49ab7583fe6310482 (patch) | |
tree | ebb67bd139ae9e843b8d9cebd8bb8ff0f32b3e01 /comms/openobex | |
parent | 59003defcafa7bb28ff87484f38cdca7f772d47f (diff) | |
download | pkgsrc-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/Makefile | 7 |
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 |