From owner-svn-ports-all@FreeBSD.ORG Thu Feb 26 13:16:07 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 025B9D50; Thu, 26 Feb 2015 13:16:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C84B121F; Thu, 26 Feb 2015 13:16:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1QDG6go089275; Thu, 26 Feb 2015 13:16:06 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1QDG6xW089270; Thu, 26 Feb 2015 13:16:06 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201502261316.t1QDG6xW089270@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Thu, 26 Feb 2015 13:16:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380001 - head/audio/bcg729 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 13:16:07 -0000 Author: madpilot Date: Thu Feb 26 13:16:05 2015 New Revision: 380001 URL: https://svnweb.freebsd.org/changeset/ports/380001 QAT: https://qat.redports.org/buildarchive/r380001/ Log: Add option to control dependency on mediastreamer, tuned on by default. Modified: head/audio/bcg729/Makefile head/audio/bcg729/pkg-plist Modified: head/audio/bcg729/Makefile ============================================================================== --- head/audio/bcg729/Makefile Thu Feb 26 13:10:09 2015 (r380000) +++ head/audio/bcg729/Makefile Thu Feb 26 13:16:05 2015 (r380001) @@ -13,13 +13,29 @@ COMMENT= Software G729A encoder and deco LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libmediastreamer_base.so:${PORTSDIR}/net/mediastreamer \ - libortp.so:${PORTSDIR}/net/ortp - GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-strict INSTALL_TARGET= install-strip USES= libtool pathfix pkgconfig USE_LDCONFIG= yes +OPTIONS_DEFINE= MEDIASTREAMER +OPTIONS_DEFAULT= MEDIASTREAMER + +MEDIASTREAMER_DESC= Mediastreamer(linphone) support + +OPTIONS_SUB= yes +MEDIASTREAMER_LIB_DEPENDS= libortp.so:${PORTSDIR}/net/ortp \ + libmediastreamer_base.so:${PORTSDIR}/net/mediastreamer + +.include + +.if ! ${PORT_OPTIONS:MMEDIASTREAMER} +# If the option is disabled, force it to not build mediastreamer interface even if +# configure found the needed dependencies +pre-configure: + @${REINPLACE_CMD} -e '/^@BUILD_MSBCG729_TRUE@/d' \ + ${WRKSRC}/Makefile.in +.endif + .include Modified: head/audio/bcg729/pkg-plist ============================================================================== --- head/audio/bcg729/pkg-plist Thu Feb 26 13:10:09 2015 (r380000) +++ head/audio/bcg729/pkg-plist Thu Feb 26 13:16:05 2015 (r380001) @@ -4,8 +4,8 @@ lib/libbcg729.a lib/libbcg729.so lib/libbcg729.so.0 lib/libbcg729.so.0.0.0 -lib/mediastreamer/plugins/libmsbcg729.a -lib/mediastreamer/plugins/libmsbcg729.so -lib/mediastreamer/plugins/libmsbcg729.so.0 -lib/mediastreamer/plugins/libmsbcg729.so.0.0.0 +%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.a +%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so +%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so.0 +%%MEDIASTREAMER%%lib/mediastreamer/plugins/libmsbcg729.so.0.0.0 libdata/pkgconfig/libbcg729.pc