[asterisk-commits] branch jcollie/bug7057 r30387 - /team/jcollie/bug7057/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 25 13:22:22 MST 2006


Author: jcollie
Date: Thu May 25 15:22:22 2006
New Revision: 30387

URL: http://svn.digium.com/view/asterisk?rev=30387&view=rev
Log:
Another attempt.

Modified:
    team/jcollie/bug7057/Makefile

Modified: team/jcollie/bug7057/Makefile
URL: http://svn.digium.com/view/asterisk/team/jcollie/bug7057/Makefile?rev=30387&r1=30386&r2=30387&view=diff
==============================================================================
--- team/jcollie/bug7057/Makefile (original)
+++ team/jcollie/bug7057/Makefile Thu May 25 15:22:22 2006
@@ -93,6 +93,18 @@
   ASTVARRUNDIR=/var/opt/asterisk/run
   ASTMANDIR=/opt/asterisk/usr/share/man
 else
+ifeq ($(OSARCH),FreeBSD)
+  ASTETCDIR=$(sysconfdir)/asterisk
+  ASTLIBDIR=$(libdir)/lib/asterisk
+  ASTVARLIBDIR=$(prefix)/share/asterisk
+  ASTSPOOLDIR=/var/spool/asterisk
+  ASTLOGDIR=/var/log/asterisk
+  ASTHEADERDIR=$(includedir)/asterisk
+  ASTBINDIR=$(bindir)
+  ASTSBINDIR=$(sbindir)
+  ASTVARRUNDIR=/var/run
+  ASTMANDIR=$(mandir)
+else
   ASTETCDIR=$(sysconfdir)/asterisk
   ASTLIBDIR=$(libdir)/asterisk
   ASTVARLIBDIR=$(localstatedir)/lib/asterisk
@@ -103,6 +115,7 @@
   ASTSBINDIR=$(sbindir)
   ASTVARRUNDIR=$(localstatedir)/run
   ASTMANDIR=$(mandir)
+endif
 endif
 ASTDATADIR?=$(ASTVARLIBDIR)
 



More information about the asterisk-commits mailing list