aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/pear-DB_DataObject/Makefile9
-rw-r--r--databases/pear-DB_DataObject/distinfo6
2 files changed, 10 insertions, 5 deletions
diff --git a/databases/pear-DB_DataObject/Makefile b/databases/pear-DB_DataObject/Makefile
index e3f99681a549..7ab5d12556a7 100644
--- a/databases/pear-DB_DataObject/Makefile
+++ b/databases/pear-DB_DataObject/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= DB_DataObject
-PORTVERSION= 1.8.5
+PORTVERSION= 1.8.7
CATEGORIES= databases pear
MAINTAINER= miwi@FreeBSD.org
@@ -23,13 +23,18 @@ EXAMPLES= example.ini
_EXAMPLESDIR= docs
LATEST_LINK= pear-${PORTNAME}
-OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
+OPTIONS= PEAR_MDB2 "PEAR::MDB2 support" off \
+ PEAR_VALIDATE "PEAR::Validate support" off
post-patch:
@${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/DataObject.php
.include <bsd.port.pre.mk>
+.if defined(WITH_PEAR_MDB2)
+RUN_DEPENDS+= ${PEARDIR}/MDB2.php:${PORTSDIR}/databases/pear-MDB2
+.endif
+
.if defined(WITH_PEAR_VALIDATE)
RUN_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
.endif
diff --git a/databases/pear-DB_DataObject/distinfo b/databases/pear-DB_DataObject/distinfo
index cec067b137cc..c7676d7a631c 100644
--- a/databases/pear-DB_DataObject/distinfo
+++ b/databases/pear-DB_DataObject/distinfo
@@ -1,3 +1,3 @@
-MD5 (PEAR/DB_DataObject-1.8.5.tgz) = cf20a7ac0df80993b00493e9680975c3
-SHA256 (PEAR/DB_DataObject-1.8.5.tgz) = 578053a2ac74facc19e98c3e5fd7e9f874891d53451797f24716eae928ff1dcc
-SIZE (PEAR/DB_DataObject-1.8.5.tgz) = 61135
+MD5 (PEAR/DB_DataObject-1.8.7.tgz) = ae28b4b42ae0c2fb5dbca0eab721bf30
+SHA256 (PEAR/DB_DataObject-1.8.7.tgz) = f2144c67b8923d0f5933119f15045f96eaaf2a9e0ec15099660dbf96c2a94d69
+SIZE (PEAR/DB_DataObject-1.8.7.tgz) = 63184