From owner-svn-ports-head@FreeBSD.ORG Fri Jul 20 22:12:58 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AC671065672; Fri, 20 Jul 2012 22:12:58 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 858CD8FC08; Fri, 20 Jul 2012 22:12:58 +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 q6KMCwOT044296; Fri, 20 Jul 2012 22:12:58 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6KMCwCe044293; Fri, 20 Jul 2012 22:12:58 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201207202212.q6KMCwCe044293@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 20 Jul 2012 22:12:58 +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: r301256 - head/security/pear-Auth_OpenID X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 22:12:58 -0000 Author: bapt Date: Fri Jul 20 22:12:58 2012 New Revision: 301256 URL: http://svn.freebsd.org/changeset/ports/301256 Log: Convert to new options framework Modified: head/security/pear-Auth_OpenID/Makefile Modified: head/security/pear-Auth_OpenID/Makefile ============================================================================== --- head/security/pear-Auth_OpenID/Makefile Fri Jul 20 22:10:31 2012 (r301255) +++ head/security/pear-Auth_OpenID/Makefile Fri Jul 20 22:12:58 2012 (r301256) @@ -27,8 +27,9 @@ LATEST_LINK= pear-Auth_OpenID WRKSRC= ${WRKDIR}/php-openid-${PORTVERSION} -OPTIONS= BCMATH "Use bcmath instead of libgmp" off \ - PEAR_DB "Support SQL stores" off +OPTIONS_DEFINE= BCMATH PEAR_DB +BCMATH_DESC= Use bcmath instead of libgmp +PEAR_DB_DESC= Support SQL stores USE_PHP= curl dom USE_PYTHON_BUILD= yes @@ -178,13 +179,13 @@ _DOCSDIR= doc .include "${PORTSDIR}/devel/pear/bsd.pear.mk" EXTRACT_SUFX= .tar.bz2 -.ifdef(WITH_BCMATH) +.if ${PORT_OPTIONS:MBCMATH} USE_PHP+= bcmath .else USE_PHP+= gmp .endif -.ifdef(WITH_PEAR_DB) +.if ${PORT_OPTIONS:MPEAR_DB} BUILD_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB RUN_DEPENDS+= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB .endif