freebsd-ports/net/asterisk-oh323/files/patch-Makefile
Max Khon 53e76e68e0 - Use pwlib and openh323 from ports
- Update to latest codec negotiation patch

Submitted by:   Andriy I Pylypenko <bamby@portaone.com> (MAINTAINER)
2006-04-26 11:33:11 +00:00

63 lines
1.6 KiB
Text

--- Makefile.orig Fri Sep 9 17:03:53 2005
+++ Makefile Thu Apr 13 13:52:00 2006
@@ -41,7 +41,7 @@
# Install everything under this directory. If this is empty, then everything
# will be installed under /
#
-DESTDIR=
+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=/usr/src/pwlib
+PWLIBDIR?=/usr/src/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=/usr/src/openh323
+OPENH323DIR?=/usr/src/openh323
#
# Set ASTERISKINCDIR variable to the directory containing the include files of
# Asterisk PBX.
#
-ASTERISKINCDIR=/usr/src/asterisk/include
+ASTERISKINCDIR=$(LOCALBASE)/include
#
# Set ASTERISKMODDIR variable to the directory where ASTERISK's modules reside.
@@ -75,7 +75,7 @@
#
# Note: This directory is created under $DESTDIR.
#
-ASTERISKMODDIR=/usr/lib/asterisk/modules
+ASTERISKMODDIR=/lib/asterisk/modules
#
# Set ASTERISKETCDIR variable to the directory where ASTERISK's configuration
@@ -93,7 +93,7 @@
#
# Note: This directory is created under $DESTDIR.
#
-OH323WRAPLIBDIR=/usr/local/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