aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-18 15:46:14 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-18 15:46:14 +0000
commit0f3ef377741e598de48f4304f3d509ce3be4d6f3 (patch)
treed42fe4c887a1a6ed84c5f0dd2efb5182d5767c48 /Makefile
parent19451a4836f714d75b34dd0353e0d1ed950ec133 (diff)
Tweak paths for BSD systems (issue #10001, stuarth)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69660 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee99a322d..d8ec7eb3b 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