/[gentoo-x86]/net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff
Gentoo

Contents of /net-misc/asterisk-app_iconv/files/app_iconv-0.9.1-astcfg.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download) (as text)
Wed Jul 21 19:08:11 2010 UTC (9 years, 8 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Remove net-misc/asterisk-app_iconv from the tree; bug #312433.

1 --- app_iconv/Makefile.orig 2005-08-27 23:02:02.000000000 +0000
2 +++ app_iconv/Makefile 2005-08-27 23:02:58.000000000 +0000
3 @@ -8,15 +8,13 @@
4
5 NAME=app_iconv
6
7 -CFLAGS=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
8 +DESTDIR=
9 +
10 +CFLAGS+=-g -Wall -D_REENTRANT -D_GNU_SOURCE -fPIC
11 LIBS=
12 RES=$(shell if [ -f /usr/include/asterisk/channel.h ]; then echo "$(NAME).so"; fi)
13
14 -ifeq (${OSARCH},Darwin)
15 -SOLINK=-dynamic -bundle -undefined suppress -force_flat_namespace
16 -else
17 -SOLINK=-shared -Xlinker -x
18 -endif
19 +SOLINK=$(shell /usr/bin/asterisk-config --solink)
20
21 MODULES_DIR=/usr/lib/asterisk/modules
22
23 @@ -28,10 +26,8 @@
24 clean:
25 rm -f $(NAME).o $(NAME).so
26
27 -install: all
28 - if [ -f $(NAME).so ]; then \
29 - install -m 755 $(NAME).so $(MODULES_DIR) ; \
30 - fi
31 +install:
32 + install -D -m 755 $(NAME).so $(DESTDIR)$(MODULES_DIR)/$(NAME).so
33
34 reload: install
35 asterisk -rx "unload ${RES}"

  ViewVC Help
Powered by ViewVC 1.1.20