summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.4.11/Makefile.patch
blob: a6d630949ec03628a4d90928c7942918c9fba618 (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: datafiles bininstall $(SUBDIRS_INSTALL)
+install: datafiles bininstall $(SUBDIRS_INSTALL) samples
 	@if [ -x /usr/sbin/asterisk-post-install ]; then \
 		/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
 	fi