summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2012-06-16 19:28:19 +0000
committerplunky <plunky@pkgsrc.org>2012-06-16 19:28:19 +0000
commit616d006213e229e6f5bf2889379398756f91e3c2 (patch)
treecdb43424970a58ad3895e868651389ecd2337a83 /comms
parent77c262527f465edbbec4b657b111ea5c589e77c3 (diff)
downloadpkgsrc-616d006213e229e6f5bf2889379398756f91e3c2.tar.gz
since in recent NetBSD, the /etc/rc.d/sdpd script was merged into
/etc/rc.d/bluetooth we should try to REQUIRE the correct script.
Diffstat (limited to 'comms')
-rw-r--r--comms/obexapp/Makefile6
-rw-r--r--comms/obexapp/files/obexapp.sh4
2 files changed, 7 insertions, 3 deletions
diff --git a/comms/obexapp/Makefile b/comms/obexapp/Makefile
index ab2b5b3b88d..166be756b4d 100644
--- a/comms/obexapp/Makefile
+++ b/comms/obexapp/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2011/07/13 20:51:41 plunky Exp $
+# $NetBSD: Makefile,v 1.29 2012/06/16 19:28:19 plunky Exp $
#
DISTNAME= obexapp-1.4.15
+PKGREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://people.freebsd.org/~emax/obexapp/
@@ -38,8 +39,11 @@ USE_BSD_MAKEFILE= yes
.if (${OPSYS} == "NetBSD" && \
(!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*)))
MAKE_ENV+= HAVE_LIBSDP=no
+RCD_SDPD= bluetooth
.endif
+FILES_SUBST+= RCD_SDPD=${RCD_SDPD:Usdpd}
+
# because the directory name conflicts with the rc.d script
post-extract:
mv ${WRKDIR}/obexapp ${WRKDIR}/${DISTNAME}
diff --git a/comms/obexapp/files/obexapp.sh b/comms/obexapp/files/obexapp.sh
index fa1d92986b4..d1cf796ae15 100644
--- a/comms/obexapp/files/obexapp.sh
+++ b/comms/obexapp/files/obexapp.sh
@@ -1,9 +1,9 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: obexapp.sh,v 1.2 2010/12/01 19:28:27 plunky Exp $
+# $NetBSD: obexapp.sh,v 1.3 2012/06/16 19:28:19 plunky Exp $
#
# PROVIDE: obexapp
-# REQUIRE: sdpd
+# REQUIRE: @RCD_SDPD@
#
# variables used: