|
@@ -0,0 +1,20 @@
+--- chan_capi-1.0.2/Makefile.orig 2008-02-03 14:56:43.000000000 +0100
++++ chan_capi-1.0.2/Makefile 2008-02-03 14:57:17.000000000 +0100
+@@ -36,7 +36,7 @@
+ ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/pkg/include
+ endif
+
+-MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules
++MODULES_DIR=$(DESTDIR)/usr/lib/asterisk/modules
+
+ ifeq (${OSNAME},FreeBSD)
+ MODULES_DIR=$(INSTALL_PREFIX)/usr/local/lib/asterisk/modules
+@@ -46,7 +46,7 @@
+ MODULES_DIR=$(INSTALL_PREFIX)/usr/pkg/lib/asterisk/modules
+ endif
+
+-CONFIG_DIR=$(INSTALL_PREFIX)/etc/asterisk
++CONFIG_DIR=$(DESTDIR)/etc/asterisk
+
+ ifeq (${OSNAME},FreeBSD)
+ CONFIG_DIR=$(INSTALL_PREFIX)/usr/local/etc/asterisk
|