summaryrefslogtreecommitdiff
path: root/devel/pear-PHPUnit2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pear-PHPUnit2/Makefile')
-rw-r--r--devel/pear-PHPUnit2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/pear-PHPUnit2/Makefile b/devel/pear-PHPUnit2/Makefile
index 30567092e386..ec08dba63dc1 100644
--- a/devel/pear-PHPUnit2/Makefile
+++ b/devel/pear-PHPUnit2/Makefile
@@ -28,7 +28,8 @@ PEAR_AUTOINSTALL= yes
LATEST_LINK= pear-PHPUnit2
-OPTIONS= PEAR_LOG "PEAR::Log support" off
+OPTIONS_DEFINE= PEAR_LOG
+PEAR_LOG_DESC= PEAR::Log support
USE_PHP= dom pcre
@@ -37,7 +38,7 @@ IGNORE_WITH_PHP=4
.include <bsd.port.pre.mk>
-.if defined(WITH_PEAR_LOG)
+.if ${PORT_OPTIONS:MPEAR_LOG}
RUN_DEPENDS+= ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log
.endif