Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2010 23:50:10 GMT
From:      "Richard E. Neese" <r.neese@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   ports/152789
Message-ID:  <201012222350.oBMNoADD008485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/152789; it has been noted by GNATS.

From: "Richard E. Neese" <r.neese@gmail.com>
To: bug-followup@FreeBSD.org, saper@saper.info
Cc:  
Subject: ports/152789
Date: Wed, 22 Dec 2010 18:19:13 -0500

 This is a multi-part message in MIME format.
 
 --Multipart=_Wed__22_Dec_2010_18_19_13_-0500_aTqcaeZ/yaEnAnyB
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 fix for wget issue & added zrtp support
 
 -- 
 Richard E. Neese <r.neese@gmail.com>
 
 --Multipart=_Wed__22_Dec_2010_18_19_13_-0500_aTqcaeZ/yaEnAnyB
 Content-Type: text/plain;
  name="freeswitch-core.diff"
 Content-Disposition: attachment;
  filename="freeswitch-core.diff"
 Content-Transfer-Encoding: 7bit
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/net/freeswitch-core/Makefile,v
 retrieving revision 1.16
 diff -u -r1.16 Makefile
 --- Makefile	17 Dec 2010 17:40:21 -0000	1.16
 +++ Makefile	22 Dec 2010 22:47:48 -0000
 @@ -7,7 +7,7 @@
  
  PORTNAME=	freeswitch-core
  PORTVERSION=	201044
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	net
  MASTER_SITES=	ftp://ftp.secure-computing.net/pub/freeswitch/ \
  		ftp://ftp2.secure-computing.net/pub/freeswitch/ \
 @@ -121,7 +121,8 @@
  		MODSAYTH	"Enable mod_say_th (Thi support)" off \
  		MODSAYZH	"Enable mod_say_zh (Chinese support)" off \
  		EXTENSIONS	"Include Default User Extensions" off \
 -		MODCALLCENTER	"Enable mod_callcenter (new)(test)" on
 +		MODCALLCENTER	"Enable mod_callcenter (new)" on \
 +		ZRTP		"ENABLE ZRTP (VOIP ENCRYPTION)(NEW)(TEST)" off
  
  .include <bsd.port.options.mk>
  
 @@ -188,6 +189,15 @@
  BUILD_DEPENDS+=	${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite
  .endif
  
 +.if !defined(WITH_ZRTP)
 +PLIST_SUB+=	WITH_ZRTP="@comment"
 +.else
 +PLIST_SUB+=	WITH_ZRTP=""
 +CONFIGURE_ARGS+=	--enable-zrtp
 +BUILD_DEPENDS+=	${LOCALBASE}/lib/libzrtp.a:${PORTSDIR}/devel/libzrtp
 +RUN_DEPENDS+=	${LOCALBASE}/lib/libzrtp.a:${PORTSDIR}/devel/libzrtp
 +.endif
 +
  pre-configure:
  	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.am
  	@${REINPLACE_CMD} -e 's|pkgconfigdir   = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.am
 Index: files/patch-build-getlib.sh.in
 ===================================================================
 RCS file: files/patch-build-getlib.sh.in
 diff -N files/patch-build-getlib.sh.in
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ files/patch-build-getlib.sh.in	22 Dec 2010 22:47:48 -0000
 @@ -0,0 +1,18 @@
 +--- build/getlib.sh.in	2010-12-22 12:39:49.000000000 -0500
 ++++ build/getlib.sh.in.orig	2010-12-22 12:34:04.000000000 -0500
 +@@ -5,11 +5,11 @@
 + WGET=@WGET@
 + CURL=@CURL@
 + 
 +-if [ -f "$WGET" ] ; then
 +-    DOWNLOAD_CMD=$WGET
 +-else
 +-    if [ -f "$CURL" ] ; then
 ++if [ -f "$CURL" ] ; then
 +         DOWNLOAD_CMD="$CURL -O"
 ++else
 ++	if [ -f "$WGET" ] ; then
 ++    	DOWNLOAD_CMD=$WGET
 +     fi
 + fi
 + 
 
 --Multipart=_Wed__22_Dec_2010_18_19_13_-0500_aTqcaeZ/yaEnAnyB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012222350.oBMNoADD008485>