aboutsummaryrefslogtreecommitdiffstats
path: root/www/mediawiki113
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-02 01:34:39 +0800
committerclsung <clsung@FreeBSD.org>2006-07-02 01:34:39 +0800
commit8b865b46b8455412331a516c6803fd664e32e3f1 (patch)
tree425d5b590e408a99105ef4c6ccb5c5560172a1c6 /www/mediawiki113
parentdedb7cf08bc8b9485f58db5f17f5286d7441ca05 (diff)
downloadfreebsd-ports-gnome-8b865b46b8455412331a516c6803fd664e32e3f1.tar.gz
freebsd-ports-gnome-8b865b46b8455412331a516c6803fd664e32e3f1.tar.zst
freebsd-ports-gnome-8b865b46b8455412331a516c6803fd664e32e3f1.zip
- Update the MediaWiki 1.6 port to locate the diff3 util on
FreeBSD correctly. - bump PORTREVISION Thanks to Mikhail Teterin for this patch. PR: ports/99685 Submitted by: maintainer (Gerrit Beine)
Diffstat (limited to 'www/mediawiki113')
-rw-r--r--www/mediawiki113/Makefile2
-rw-r--r--www/mediawiki113/files/patch-index.php11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/mediawiki113/Makefile b/www/mediawiki113/Makefile
index 1b1e29beaaf3..287230dc6875 100644
--- a/www/mediawiki113/Makefile
+++ b/www/mediawiki113/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mediawiki
PORTVERSION= 1.6.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wikipedia
diff --git a/www/mediawiki113/files/patch-index.php b/www/mediawiki113/files/patch-index.php
new file mode 100644
index 000000000000..13c2cb716361
--- /dev/null
+++ b/www/mediawiki113/files/patch-index.php
@@ -0,0 +1,11 @@
+--- config/index.php.orig Tue Jun 6 11:04:04 2006
++++ config/index.php Sat Jul 1 13:27:04 2006
+@@ -340,7 +340,7 @@
+ $diff3locations = array("/usr/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin") + explode($sep, getenv("PATH"));
+ $diff3names = array("gdiff3", "diff3", "diff3.exe");
+
+-$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) {