]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Tweak paths for BSD systems (issue #10001, stuarth)
authorRussell Bryant <russell@russellbryant.com>
Mon, 18 Jun 2007 15:46:14 +0000 (15:46 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 18 Jun 2007 15:46:14 +0000 (15:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69660 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index ee99a322daa5820348833fdcfc6bf6b538dcbe48..d8ec7eb3b8741a06d9a35328d4c192f78fd983d6 100644 (file)
--- 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