summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}|" \