restore default paths for FreeBSD (reported by alphaque, fixed by jcollie)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-05-25 22:05:12 +00:00
parent 295c340164
commit 1e61ba6699
2 changed files with 14 additions and 12 deletions

View File

@@ -95,14 +95,18 @@ ifeq ($(OSARCH),SunOS)
else else
ASTETCDIR=$(sysconfdir)/asterisk ASTETCDIR=$(sysconfdir)/asterisk
ASTLIBDIR=$(libdir)/asterisk ASTLIBDIR=$(libdir)/asterisk
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
ASTSPOOLDIR=$(localstatedir)/spool/asterisk
ASTLOGDIR=$(localstatedir)/log/asterisk
ASTHEADERDIR=$(includedir)/asterisk ASTHEADERDIR=$(includedir)/asterisk
ASTBINDIR=$(bindir) ASTBINDIR=$(bindir)
ASTSBINDIR=$(sbindir) ASTSBINDIR=$(sbindir)
ASTSPOOLDIR=$(localstatedir)/spool/asterisk
ASTLOGDIR=$(localstatedir)/log/asterisk
ASTVARRUNDIR=$(localstatedir)/run ASTVARRUNDIR=$(localstatedir)/run
ASTMANDIR=$(mandir) ASTMANDIR=$(mandir)
ifeq ($(OSARCH),FreeBSD)
ASTVARLIBDIR=$(prefix)/share/asterisk
else
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
endif
endif endif
ASTDATADIR?=$(ASTVARLIBDIR) ASTDATADIR?=$(ASTVARLIBDIR)

View File

@@ -28,19 +28,17 @@ case "${host}" in
;; ;;
*) *)
ac_default_prefix=/usr ac_default_prefix=/usr
if test ${sysconfdir} = '${prefix}/etc'; then
sysconfdir=/etc
fi
if test ${mandir} = '${prefix}/man'; then
mandir=/usr/share/man
fi
;; ;;
esac esac
if test ${sysconfdir} = '${prefix}/etc'; then
sysconfdir=/etc
fi
if test ${localstatedir} = '${prefix}/var'; then if test ${localstatedir} = '${prefix}/var'; then
localstatedir=/var localstatedir=/var
fi
if test ${mandir} = '${prefix}/man'; then
mandir=/usr/share/man
fi fi
### ** Platform. ### ** Platform.