summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorriz <riz>2006-01-24 02:09:38 +0000
committerriz <riz>2006-01-24 02:09:38 +0000
commita390d4dd08347c767c90b722bfbfa7b7a657e5b2 (patch)
tree676e8da83a72e77aa596d4ff0a310691d314fe35 /comms
parent436933ba9544491a4ba2225f63eac4f631f8ca20 (diff)
downloadpkgsrc-a390d4dd08347c767c90b722bfbfa7b7a657e5b2.tar.gz
Patch the default path for music-on-hold files.
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile
index 02b235269aa..887a4919c28 100644
--- a/comms/asterisk/Makefile
+++ b/comms/asterisk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/01/18 11:39:54 mjl Exp $
+# $NetBSD: Makefile,v 1.16 2006/01/24 02:09:38 riz Exp $
DISTNAME= asterisk-1.2.2
CATEGORIES= comms net audio
@@ -39,8 +39,9 @@ ASTEXAMPLEDIR?=${PREFIX}/share/examples/asterisk
# Override default paths in Makefile
SUBST_CLASSES+= asterisk
SUBST_STAGE.asterisk= pre-configure
-SUBST_FILES.asterisk= Makefile
+SUBST_FILES.asterisk= Makefile configs/musiconhold.conf.sample
SUBST_SED.asterisk= \
+ -e "s|/var/lib/asterisk|${ASTVARLIBDIR}|" \
-e "s|^ *\(ASTLIBDIR\)=.*|\1 = ${ASTLIBDIR}|" \
-e "s|^ *\(ASTVARLIBDIR\)=.*|\1 = ${ASTVARLIBDIR}|" \
-e "s|^ *\(ASTETCDIR\)=.*|\1 = ${ASTETCDIR}|" \