aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk-oh323/files/patch-Makefile
blob: 61fa3ecf34c54b6f583a81bcb8199d5a04d65f52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
--- Makefile.orig	2008-03-20 16:49:39.000000000 +0200
+++ Makefile	2008-03-20 17:58:09.000000000 +0200
@@ -41,7 +41,7 @@
 # Install everything under this directory. If this is empty, then everything
 # will be installed under /
 #
-DESTDIR=/root/src/asterisk-oh323/debian-420641/slash
+DESTDIR=$(PREFIX)
 
 #
 # Set PWLIBDIR variable to the directory containing the sources of 
@@ -51,7 +51,7 @@
 # compile asterisk-oh323. Do not use the installed library of your
 # distribution. It won't work.
 #
-PWLIBDIR=/root/src/asterisk-oh323/debian-420641/pwlib
+PWLIBDIR?=/root/src/asterisk-oh323/debian-420641/pwlib
 
 #
 # Set OPENH323LIBDIR variable to the directory containing the sources of
@@ -61,13 +61,13 @@
 # compile asterisk-oh323. Do not use the installed library of your
 # distribution. It won't work.
 #
-OPENH323DIR=/root/src/asterisk-oh323/debian-420641/openh323
+OPENH323DIR?=/root/src/asterisk-oh323/debian-420641/openh323
 
 #
 # Set ASTERISKINCDIR variable to the directory containing the include files of
 # Asterisk PBX.
 #
-ASTERISKINCDIR=/root/src/asterisk-oh323/debian-420641/slash/include
+ASTERISKINCDIR=$(LOCALBASE)/include
 
 #
 # Set ASTERISKMODDIR variable to the directory where ASTERISK's modules reside.
@@ -93,7 +93,7 @@
 #
 # Note: This directory is created under $DESTDIR.
 #
-OH323WRAPLIBDIR=/usr/lib
+OH323WRAPLIBDIR=/lib
 
 #
 # Set WRAPTRACING to 1 to enable tracing information from the OpenH323Wrap
@@ -120,7 +120,7 @@
 # With this flag on the channel driver is huge, in size, but Asterisk boots
 # faster!
 #
-OH323STAT=1
+#OH323STAT=1
 
 #
 # Define options that were used during Asterisk compilation. It is