- Update the MediaWiki 1.5 port to locate the diff3 util on

FreeBSD correctly.
- bump PORTREVISION

Thanks to Mikhail Teterin for this patch.

PR:		ports/99684
Submitted by:	maintainer (Gerrit Beine)
This commit is contained in:
Cheng-Lung Sung 2006-07-01 17:37:54 +00:00
parent c4d3b40529
commit 66ef098552
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166733
2 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= mediawiki
PORTVERSION= 1.5.8
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikipedia

View File

@ -0,0 +1,11 @@
--- config/index.php.orig Thu Mar 2 03:55:15 2006
+++ config/index.php Sat Jul 1 13:32:47 2006
@@ -321,7 +321,7 @@
$diff3locations = array("/usr/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin") + explode(":", getenv("PATH"));
$diff3names = array("gdiff3", "diff3");
-$diff3versioninfo = array('$1 --version 2>&1', 'diff3 (GNU diffutils)');
+$diff3versioninfo = array('$1 --version 2>&1', 'diff3 - GNU diffutils');
foreach ($diff3locations as $loc) {
$exe = locate_executable($loc, $diff3names, $diff3versioninfo);
if ($exe !== false) {