asterisk-18/asterisk-configure-paths.diff

26 lines
987 B
Diff

From: Jan Engelhardt <jengelh@medozas.de>
Date: 2011-10-09 13:06:02.765141186 +0200
Upstream: tbd
build: put data files into the right FHS spot
Data should go into, well, ${datadir}!
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: asterisk-11.0.0-rc2/configure.ac
===================================================================
--- asterisk-11.0.0-rc2.orig/configure.ac
+++ asterisk-11.0.0-rc2/configure.ac
@@ -51,7 +51,7 @@ AC_SUBST([astlibdir], ['${libdir
AC_SUBST([astmoddir], ['${libdir}/asterisk/modules'])dnl
AC_SUBST([astmandir], ['${mandir}'])dnl
AC_SUBST([astvarlibdir], ['${localstatedir}/lib/asterisk'])dnl
-AC_SUBST([astdatadir], ['${astvarlibdir}'])dnl
+AC_SUBST([astdatadir], ['${datadir}/asterisk'])dnl
AC_SUBST([astdbdir], ['${astvarlibdir}'])dnl
AC_SUBST([astkeydir], ['${astvarlibdir}'])dnl
AC_SUBST([astspooldir], ['${localstatedir}/spool/asterisk'])dnl