ports/69237: [PATCH] Update www/phpbb to 2.0.10
Xin LI
delphij at frontfree.net
Sun Jul 18 12:40:21 UTC 2004
>Number: 69237
>Category: ports
>Synopsis: [PATCH] Update www/phpbb to 2.0.10
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 18 12:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Xin LI
>Release: FreeBSD 5.2-delphij i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD beastie.frontfree.net 5.2-delphij FreeBSD 5.2-delphij #80: Thu Jun 24 17:30:33 CST 2004 delphij at beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386
>Description:
http://www.phpbb.com/phpBB/viewtopic.php?f=14&t=211081
The major benefit of this change is to make phpbb compatible with
recently released PHP 5.0.
>How-To-Repeat:
N/A
>Fix:
Apply this patch
--- patch-phpbb begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/phpbb/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile 14 Jul 2004 15:17:43 -0000 1.25
+++ Makefile 18 Jul 2004 12:20:08 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= phpbb
-PORTVERSION= 2.0.9
+PORTVERSION= 2.0.10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -35,8 +35,9 @@
NO_BUILD= yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
+PHPBB_VER= ${PORTVERSION:S/.0.//g:S/.//g}
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
-PLIST_SUB+= PHPBB_VER=${PORTVERSION:S/.//g}
+PLIST_SUB+= PHPBB_VER=${PHPBB_VER}
# Set custom variables:
#
@@ -44,7 +45,7 @@
PKGOPTS= ${FILESDIR}/pkg-opts
EXCEPTFILES= ${PREFIX}/${PHPBBDIR}/install/install.php \
${PREFIX}/${PHPBBDIR}/install/upgrade.php \
- ${PREFIX}/${PHPBBDIR}/install/update_to_${PORTVERSION:S/.//g}.php
+ ${PREFIX}/${PHPBBDIR}/install/update_to_${PHPBB_VER}.php
options:
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
--- patch-phpbb ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list