Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
chan_capi
> chan_capi.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File chan_capi.diff of Package chan_capi (Revision 5)
Currently displaying revision
5
,
show latest
--- chan_capi-1.0.2/Makefile.orig 2008-02-03 14:56:43.000000000 +0100 +++ chan_capi-1.0.2/Makefile 2008-02-03 15:19:03.000000000 +0100 @@ -24,6 +24,12 @@ V=0 +LIBSUFFIX= +OSARCH=$(shell uname -m) +ifeq (${OSARCH},x86_64) +LIBSUFFIX=64 +endif + INSTALL_PREFIX= ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/include @@ -36,7 +42,7 @@ ASTERISK_HEADER_DIR=$(INSTALL_PREFIX)/usr/pkg/include endif -MODULES_DIR=$(INSTALL_PREFIX)/usr/lib/asterisk/modules +MODULES_DIR=$(DESTDIR)/usr/lib$(LIBSUFFIX)/asterisk/modules ifeq (${OSNAME},FreeBSD) MODULES_DIR=$(INSTALL_PREFIX)/usr/local/lib/asterisk/modules @@ -46,7 +52,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