pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/asterisk PR/38351 - Miro Voutilainen -- app_curl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/52d13ebff071
branches: trunk
changeset: 553609:52d13ebff071
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Mon Jan 26 13:15:49 2009 +0000
description:
PR/38351 - Miro Voutilainen -- app_curl does not build
diffstat:
comms/asterisk/Makefile | 3 ++-
comms/asterisk/PLIST.common | 3 ++-
comms/asterisk/distinfo | 4 ++--
comms/asterisk/patches/patch-ae | 14 +++++++++++---
4 files changed, 17 insertions(+), 7 deletions(-)
diffs (81 lines):
diff -r 745d5125869a -r 52d13ebff071 comms/asterisk/Makefile
--- a/comms/asterisk/Makefile Mon Jan 26 11:50:54 2009 +0000
+++ b/comms/asterisk/Makefile Mon Jan 26 13:15:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2009/01/22 12:19:49 obache Exp $
+# $NetBSD: Makefile,v 1.61 2009/01/26 13:15:49 jnemeth Exp $
DISTNAME= asterisk-1.2.31
CATEGORIES= comms net audio
@@ -103,5 +103,6 @@
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 745d5125869a -r 52d13ebff071 comms/asterisk/PLIST.common
--- a/comms/asterisk/PLIST.common Mon Jan 26 11:50:54 2009 +0000
+++ b/comms/asterisk/PLIST.common Mon Jan 26 13:15:49 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.14 2008/11/24 09:27:29 jnemeth Exp $
+@comment $NetBSD: PLIST.common,v 1.15 2009/01/26 13:15:49 jnemeth Exp $
include/asterisk/acl.h
include/asterisk/adsi.h
include/asterisk/aes.h
@@ -79,6 +79,7 @@
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_chanspy.so
lib/asterisk/modules/app_controlplayback.so
+lib/asterisk/modules/app_curl.so
lib/asterisk/modules/app_cut.so
lib/asterisk/modules/app_db.so
lib/asterisk/modules/app_dial.so
diff -r 745d5125869a -r 52d13ebff071 comms/asterisk/distinfo
--- a/comms/asterisk/distinfo Mon Jan 26 11:50:54 2009 +0000
+++ b/comms/asterisk/distinfo Mon Jan 26 13:15:49 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2009/01/21 05:35:07 obache Exp $
+$NetBSD: distinfo,v 1.38 2009/01/26 13:15:49 jnemeth Exp $
SHA1 (asterisk-1.2.31.tar.gz) = a7550ead37fb095918fdc8a98f9ef449017ea67f
RMD160 (asterisk-1.2.31.tar.gz) = 35de82df02ea725c85a7b157677570989764888a
@@ -7,7 +7,7 @@
SHA1 (patch-ab) = 1bdae0ff206b63fe63373a307ecd23859c10cb79
SHA1 (patch-ac) = 4f783699c7d701030788646f8b961fa9245dc127
SHA1 (patch-ad) = 93a40eebdd2049cce2a976e54fcc3ea6a0548ebb
-SHA1 (patch-ae) = d3ff3a6e2340c53814d2e7ac97b798e9905a4c57
+SHA1 (patch-ae) = a3b9dbf8017286dcc9327d65fb9c47c7b7ac5b79
SHA1 (patch-af) = 393bfbe218e843039fc9f4bc59a42ba1b9e896bd
SHA1 (patch-ag) = 7adec0d05371f6ffa56e067770c04c8acec2d922
SHA1 (patch-ai) = 81c0ff8f8a273562a64ab7cfb301d578e18808e3
diff -r 745d5125869a -r 52d13ebff071 comms/asterisk/patches/patch-ae
--- a/comms/asterisk/patches/patch-ae Mon Jan 26 11:50:54 2009 +0000
+++ b/comms/asterisk/patches/patch-ae Mon Jan 26 13:15:49 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.3 2006/04/13 08:47:06 adam Exp $
+$NetBSD: patch-ae,v 1.4 2009/01/26 13:15:49 jnemeth Exp $
---- apps/Makefile.orig 2006-02-09 03:31:21.000000000 +0100
+--- apps/Makefile.orig 2006-04-30 06:38:22.000000000 -0700
+++ apps/Makefile
-@@ -45,15 +45,17 @@ APPS=app_dial.so app_playback.so app_voi
+@@ -45,21 +45,23 @@ APPS=app_dial.so app_playback.so app_voi
#APPS+=app_rpt.so
ifndef WITHOUT_ZAPTEL
@@ -22,6 +22,14 @@
ifeq ($(findstring BSD,${OSARCH}),BSD)
CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
endif
+
+-CURLLIBS=$(shell $(CROSS_COMPILE_BIN)curl-config --libs)
+-ifneq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
++CURLLIBS=$(shell $(PREFIX)/bin/curl-config --libs)
++ifneq ($(shell if [ `$(PREFIX)/bin/curl-config --vernum` -ge 70907 ]; then echo "OK" ; fi),)
+ ifneq (${CURLLIBS},)
+ APPS+=app_curl.so
+ endif
@@ -103,10 +105,10 @@ app_curl.so: app_curl.o
$(CC) $(SOLINK) -o $@ ${CYGSOLINK} $< ${CYGSOLIB} $(CURLLIBS)
Home |
Main Index |
Thread Index |
Old Index