From owner-svn-ports-all@FreeBSD.ORG Thu Sep 13 09:39:54 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EA70106564A; Thu, 13 Sep 2012 09:39:54 +0000 (UTC) (envelope-from flo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 695D48FC17; Thu, 13 Sep 2012 09:39:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8D9dsOd066117; Thu, 13 Sep 2012 09:39:54 GMT (envelope-from flo@svn.freebsd.org) Received: (from flo@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8D9dshu066114; Thu, 13 Sep 2012 09:39:54 GMT (envelope-from flo@svn.freebsd.org) Message-Id: <201209130939.q8D9dshu066114@svn.freebsd.org> From: Florian Smeets Date: Thu, 13 Sep 2012 09:39:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304188 - in head/net: asterisk asterisk10 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 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, 13 Sep 2012 09:39:54 -0000 Author: flo Date: Thu Sep 13 09:39:53 2012 New Revision: 304188 URL: http://svn.freebsd.org/changeset/ports/304188 Log: - fix typo --with-mysql does not exist, use --with-mysqlclient - use OPTIONS_DEFINE_$ARCH for DAHDI option, which fixes the option - bump PORTREVISION so the packages have DAHDI support again PR: ports/171590 Submitted by: Dmitry Modified: head/net/asterisk/Makefile head/net/asterisk10/Makefile Modified: head/net/asterisk/Makefile ============================================================================== --- head/net/asterisk/Makefile Thu Sep 13 09:22:25 2012 (r304187) +++ head/net/asterisk/Makefile Thu Sep 13 09:39:53 2012 (r304188) @@ -7,6 +7,7 @@ PORTNAME= asterisk PORTVERSION= 1.8.15.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ @@ -55,11 +56,19 @@ OPTIONS_DEFAULT= VORBIS ODBC UNIXODBC PG OPTIONS_SINGLE= ODBC OPTIONS_SINGLE_ODBC= IODBC UNIXODBC +OPTIONS_DEFINE_i386= DAHDI +OPTIONS_DEFINE_amd64= DAHDI +OPTIONS_DEFINE_sparc64= DAHDI + +OPTIONS_DEFAULT_i386= DAHDI +OPTIONS_DEFAULT_amd64= DAHDI +OPTIONS_DEFAULT_sparc64=DAHDI EXCHANGE_DESC?= Exchange calendar support NEWG711_DESC?= New G711 Codec SRTP_DESC?= SecureRTP support OOH323_DESC?= ooh323 support +DAHDI_DESC?= DAHDI support PORTSCOUT= limit:^1\.8\. @@ -77,12 +86,6 @@ VARDIR=/var VARDIR=${PREFIX}/var .endif -.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "sparc64" -OPTIONS_DEFINE+= DAHDI -OPTIONS_DEFAULT+= DAHDI -DAHDI_DESC?= DAHDI support -.endif - SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} @@ -155,10 +158,10 @@ CONFIGURE_ARGS+= --without-postgres .if ${PORT_OPTIONS:MMYSQL} PLIST_SUB+= WITH_MYSQL="" USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql +CONFIGURE_ARGS+= --with-mysqlclient .else PLIST_SUB+= WITH_MYSQL="@comment " -CONFIGURE_ARGS+= --without-mysql +CONFIGURE_ARGS+= --without-mysqlclient .endif .if ${PORT_OPTIONS:MVORBIS} Modified: head/net/asterisk10/Makefile ============================================================================== --- head/net/asterisk10/Makefile Thu Sep 13 09:22:25 2012 (r304187) +++ head/net/asterisk10/Makefile Thu Sep 13 09:39:53 2012 (r304188) @@ -7,6 +7,7 @@ PORTNAME= asterisk PORTVERSION= 10.7.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ @@ -52,10 +53,19 @@ OPTIONS_DEFAULT= VORBIS ODBC UNIXODBC PG OPTIONS_SINGLE= ODBC OPTIONS_SINGLE_ODBC= IODBC UNIXODBC +OPTIONS_DEFINE_i386= DAHDI +OPTIONS_DEFINE_amd64= DAHDI +OPTIONS_DEFINE_sparc64= DAHDI + +OPTIONS_DEFAULT_i386= DAHDI +OPTIONS_DEFAULT_amd64= DAHDI +OPTIONS_DEFAULT_sparc64= DAHDI + EXCHANGE_DESC?= Exchange calendar support NEWG711_DESC?= New G711 Codec SRTP_DESC?= SecureRTP support OOH323_DESC?= ooh323 support +DAHDI_DESC?= DAHDI support ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk @@ -71,12 +81,6 @@ VARDIR=/var VARDIR=${PREFIX}/var .endif -.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "sparc64" -OPTIONS_DEFINE+= DAHDI -OPTIONS_DEFAULT+= DAHDI -DAHDI_DESC?= DAHDI support -.endif - SUB_LIST+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_USER=${ASTERISK_USER} PLIST_SUB+= ASTERISK_GROUP=${ASTERISK_GROUP} @@ -149,10 +153,10 @@ CONFIGURE_ARGS+= --without-postgres .if ${PORT_OPTIONS:MMYSQL} PLIST_SUB+= WITH_MYSQL="" USE_MYSQL= yes -CONFIGURE_ARGS+= --with-mysql +CONFIGURE_ARGS+= --with-mysqlclient .else PLIST_SUB+= WITH_MYSQL="@comment " -CONFIGURE_ARGS+= --without-mysql +CONFIGURE_ARGS+= --without-mysqlclient .endif .if ${PORT_OPTIONS:MVORBIS}