svn commit: r310411 - head/ports-mgmt/tinderbox-devel
Beat Gaetzi
beat at FreeBSD.org
Mon Jan 14 22:43:24 UTC 2013
Author: beat
Date: Mon Jan 14 22:43:23 2013
New Revision: 310411
URL: http://svnweb.freebsd.org/changeset/ports/310411
Log:
- Tinderbox 4 uses PDO instead of MDB2 for the WebUI [1]
- Remove replacement of obsolete set_rcvar [1]
- Use sqlite3 PHP extension as sqlite is no longer available in PHP 5.4
- Bump PORTREVISION
Submitted by: ohauer [1]
Approved by: itetcu (maintainer)
Modified:
head/ports-mgmt/tinderbox-devel/Makefile
Modified: head/ports-mgmt/tinderbox-devel/Makefile
==============================================================================
--- head/ports-mgmt/tinderbox-devel/Makefile Mon Jan 14 22:41:54 2013 (r310410)
+++ head/ports-mgmt/tinderbox-devel/Makefile Mon Jan 14 22:43:23 2013 (r310411)
@@ -3,6 +3,7 @@
PORTNAME= tinderbox
DISTVERSION= 4.0.0.b2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://tinderbox.marcuscom.com/ \
@@ -62,16 +63,14 @@ PLIST_SUB+= WEBUI="@comment "
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
.if defined(WEBUI)
-RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/pgsql.php:${PORTSDIR}/databases/pear-MDB2_Driver_pgsql
-USE_PHP+= pgsql
+USE_PHP+= pgsql pdo_pgsql
.endif
RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
.if ${PORT_OPTIONS:MMYSQL}
.if defined(WEBUI)
-RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/mysql.php:${PORTSDIR}/databases/pear-MDB2_Driver_mysql
-USE_PHP+= mysql
+USE_PHP+= mysql pdo_mysql
.endif
USE_MYSQL= yes
RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
@@ -79,8 +78,7 @@ RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR
.if ${PORT_OPTIONS:MSQLITE}
.if defined(WEBUI)
-RUN_DEPENDS+= ${LOCALBASE}/share/pear/MDB2/Driver/sqlite.php:${PORTSDIR}/databases/pear-MDB2_Driver_sqlite
-USE_PHP+= sqlite
+USE_PHP+= sqlite3 pdo_sqlite
.endif
RUN_DEPENDS+= p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite
.endif
@@ -123,8 +121,6 @@ post-patch:
${REINPLACE_CMD} -e 's/^if \[ `id -u` != 0 \]; then/if false; then/' \
${WRKSRC}/tc
.endif
- ${REINPLACE_CMD} -e 's/.set_rcvar./tinderd_enable/' \
- ${WRKSRC}/etc/rc.d/tinderd
@cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \;
do-install:
More information about the svn-ports-all
mailing list