summaryrefslogtreecommitdiff
path: root/comms/openobex
diff options
context:
space:
mode:
authorrillig <rillig>2006-07-06 16:27:28 +0000
committerrillig <rillig>2006-07-06 16:27:28 +0000
commitfc6d5858711c4598e813bc2c5ff04dbea8ad50b6 (patch)
tree952cfd6bbd2161c3e45595c7788495bab5019c28 /comms/openobex
parente3c0eb31f018ab23592884a7c97929f694359bd4 (diff)
downloadpkgsrc-fc6d5858711c4598e813bc2c5ff04dbea8ad50b6.tar.gz
Fixed pkglint warnings.
Diffstat (limited to 'comms/openobex')
-rw-r--r--comms/openobex/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/comms/openobex/Makefile b/comms/openobex/Makefile
index 3a9e61544bd..6ccba5a83de 100644
--- a/comms/openobex/Makefile
+++ b/comms/openobex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/07/03 19:18:57 xtraeme Exp $
+# $NetBSD: Makefile,v 1.10 2006/07/06 16:31:39 rillig Exp $
#
DISTNAME= openobex-1.0.1
@@ -19,13 +19,15 @@ PKGCONFIG_OVERRIDE= openobex-config.in
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD" && exists(/usr/include/bluetooth.h))
-SUBST_CLASSES+= bt bt2
+SUBST_CLASSES+= bt
SUBST_STAGE.bt= post-patch
SUBST_FILES.bt= configure
SUBST_SED.bt= -e "s|bluetooth/bluetooth.h|bluetooth.h|g"
SUBST_SED.bt+= -e "s|bluetooth/rfcomm.h|netbt/rfcomm.h|g"
SUBST_SED.bt+= -e "s|sockaddr_rc|sockaddr_bt|g"
SUBST_MESSAGE.bt= Fixing bluetooth detection.
+
+SUBST_CLASSES+= bt2
SUBST_STAGE.bt2= post-patch
SUBST_FILES.bt2= src/obex.h
SUBST_SED.bt2= -e "s|ifndef SOL_RFCOMM|ifdef SOL_RFCOMM|"