Merged revisions 69660 via svnmerge from
[asterisk/asterisk.git] / 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