summaryrefslogtreecommitdiff
path: root/recipes/asterisk/asterisk-1.4.19.1/Makefile.patch
blob: 857b482100dea8ae63750099d162dbefa3e44705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- asterisk-1.4.5/Makefile	2007-05-24 15:05:08.000000000 -0400
+++ asterisk-1.4.5/Makefile.new	2007-06-17 05:36:44.000000000 -0400
@@ -115,7 +115,7 @@ else
   ASTSBINDIR=$(sbindir)
   ASTSPOOLDIR=$(localstatedir)/spool/asterisk
   ASTLOGDIR=$(localstatedir)/log/asterisk
-  ASTVARRUNDIR=$(localstatedir)/run
+  ASTVARRUNDIR=$(localstatedir)/run/asterisk
   ASTMANDIR=$(mandir)
 ifeq ($(OSARCH),FreeBSD)
   ASTVARLIBDIR=$(prefix)/share/asterisk
@@ -468,7 +468,7 @@ oldmodcheck:
 		echo " WARNING WARNING WARNING" ;\
 	fi
 
-install: badshell datafiles bininstall $(SUBDIRS_INSTALL)
+install: badshell datafiles bininstall $(SUBDIRS_INSTALL) samples
 	@if [ -x /usr/sbin/asterisk-post-install ]; then \
 		/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
 	fi