From: Russell Bryant Date: Mon, 18 Jun 2007 15:46:14 +0000 (+0000) Subject: Tweak paths for BSD systems (issue #10001, stuarth) X-Git-Tag: 1.4.6~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=56f7457883edf9bec20570591df84fb48fbc176b;p=thirdparty%2Fasterisk.git Tweak paths for BSD systems (issue #10001, stuarth) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69660 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/Makefile b/Makefile index ee99a322da..d8ec7eb3b8 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,9 @@ else ASTLOGDIR=$(localstatedir)/log/asterisk ASTVARRUNDIR=$(localstatedir)/run ASTMANDIR=$(mandir) -ifeq ($(OSARCH),FreeBSD) +ifneq ($(findstring BSD,$(OSARCH)),) ASTVARLIBDIR=$(prefix)/share/asterisk + ASTVARRUNDIR=$(localstatedir)/run/asterisk else ASTVARLIBDIR=$(localstatedir)/lib/asterisk endif