pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/asterisk Patch the default path for music-on-hol...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15d8d3caf4a5
branches:  trunk
changeset: 506935:15d8d3caf4a5
user:      riz <riz%pkgsrc.org@localhost>
date:      Tue Jan 24 02:09:38 2006 +0000

description:
Patch the default path for music-on-hold files.

diffstat:

 comms/asterisk/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 81b907b9f928 -r 15d8d3caf4a5 comms/asterisk/Makefile
--- a/comms/asterisk/Makefile   Tue Jan 24 00:51:07 2006 +0000
+++ b/comms/asterisk/Makefile   Tue Jan 24 02:09:38 2006 +0000
@@ -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 @@
 # 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}|"           \



Home | Main Index | Thread Index | Old Index