diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-07-20 22:12:58 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-07-20 22:12:58 +0000 |
commit | 0c9f90277048a029e728afe4b9b965eae7c3ef4a (patch) | |
tree | ac4f5b19485303039baf6738521401e13da74b5b /security/pear-Auth_OpenID | |
parent | a9af8f7b5ba5cf7d4f216b3281141c26908cd328 (diff) | |
download | ports-0c9f90277048a029e728afe4b9b965eae7c3ef4a.tar.gz ports-0c9f90277048a029e728afe4b9b965eae7c3ef4a.zip |
Notes
Diffstat (limited to 'security/pear-Auth_OpenID')
-rw-r--r-- | security/pear-Auth_OpenID/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/security/pear-Auth_OpenID/Makefile b/security/pear-Auth_OpenID/Makefile index d4174d617d30..23dd30fdd5df 100644 --- a/security/pear-Auth_OpenID/Makefile +++ b/security/pear-Auth_OpenID/Makefile @@ -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 |