diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-05-12 21:48:12 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-05-12 21:48:12 +0800 |
commit | 2a0ba7b958de50fc2cc9fc3c9d3e8fd61942a719 (patch) | |
tree | 5307ee9c4925c0b78e3e29418ec48b63d711f029 /misc | |
parent | c8fcb2d2850aca87dfde5140cda037341766289f (diff) | |
download | freebsd-ports-gnome-2a0ba7b958de50fc2cc9fc3c9d3e8fd61942a719.tar.gz freebsd-ports-gnome-2a0ba7b958de50fc2cc9fc3c9d3e8fd61942a719.tar.zst freebsd-ports-gnome-2a0ba7b958de50fc2cc9fc3c9d3e8fd61942a719.zip |
Depend on the right databases/p5-DBD-mysql
Don't restrict Apache version to 1.3
The csup change won't work now, and the port should be updated - as promised by
the maintainer 3 weeks ago.
PR: ports/94288
Submitted by: itetcu (me), maintainer
Reviewed by: maintianer, jmelo, sem
Approved by: maintaner, lawrance (mentor)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tinderbox/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/misc/tinderbox/Makefile b/misc/tinderbox/Makefile index 6c2fc05b6588..57f2fbc24afe 100644 --- a/misc/tinderbox/Makefile +++ b/misc/tinderbox/Makefile @@ -6,7 +6,7 @@ PORTNAME= tinderbox PORTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= misc MASTER_SITES= http://tinderbox.marcuscom.com/ @@ -22,7 +22,7 @@ OPTIONS= PGSQL "With pgsql" On \ MYSQL "With mysql" Off NO_BUILD= yes -USE_APACHE= yes +USE_APACHE= 1.3+ SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message @@ -43,7 +43,7 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-P .if defined(WITH_MYSQL) USE_PHP+= mysql USE_MYSQL= yes -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} .endif .include "${PORTSDIR}/Mk/bsd.php.mk" @@ -53,6 +53,13 @@ post-extract: ${MV} ${WRKSRC}/www-exp/${f} ${WRKSRC}/www-exp/${f}-dist .endfor +post-patch: +.if defined(WITH_MYSQL) + ${REINPLACE_CMD} \ + -e 's,DB_MAN_PREREQS=.*,DB_MAN_PREREQS="databases/p5-DBD-mysql${MYSQL_VER} databases/mysql${MYSQL_VER}-client",' \ + ${WRKSRC}/lib/setup-mysql.sh +.endif + do-install: ${MKDIR} ${PREFIX}/tinderbox/scripts ${CP} -R ${WRKSRC}/* ${PREFIX}/tinderbox/scripts |