Merged revisions 69660 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 18 Jun 2007 15:46:49 +0000 (15:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 18 Jun 2007 15:46:49 +0000 (15:46 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69660 | russell | 2007-06-18 10:46:14 -0500 (Mon, 18 Jun 2007) | 2 lines

Tweak paths for BSD systems (issue #10001, stuarth)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69662 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index f406fc8..c4dc84c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -118,8 +118,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