From 72255e472d02cf2487ffb0f3bc1b8f3ecc94d4b3 Mon Sep 17 00:00:00 2001 From: riz Date: Tue, 24 Jan 2006 02:09:38 +0000 Subject: Patch the default path for music-on-hold files. --- comms/asterisk/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'comms') 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}|" \ -- cgit v1.2.3