summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-06 16:27:28 +0000
committerrillig <rillig@pkgsrc.org>2006-07-06 16:27:28 +0000
commit34872e7b60decb9f870a6a425076771e53425458 (patch)
tree952cfd6bbd2161c3e45595c7788495bab5019c28 /comms
parent081adfbfaa774ad5be473a87b4def3b0dc27f5c2 (diff)
downloadpkgsrc-34872e7b60decb9f870a6a425076771e53425458.tar.gz
Fixed pkglint warnings.
Diffstat (limited to 'comms')
-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|"