ports/106558: Update port: www/mediawiki
Gerrit Beine
gerrit.beine at gmx.de
Sun Dec 10 11:50:05 UTC 2006
>Number: 106558
>Category: ports
>Synopsis: Update port: www/mediawiki
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 10 11:50:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Gerrit Beine
>Release: FreeBSD 6.1-RELEASE
>Organization:
Beine Computer
>Environment:
FreeBSD freebsd.vmware 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Since the release of MediaWiki 1.7 the support for PostgreSQL is available again. This patch enables the support in the port, too.
>How-To-Repeat:
>Fix:
diff -Nur /usr/ports/www/mediawiki/Makefile mediawiki/Makefile
--- /usr/ports/www/mediawiki/Makefile Wed Dec 6 15:20:12 2006
+++ mediawiki/Makefile Fri Dec 8 11:58:09 2006
@@ -19,14 +19,21 @@
NO_BUILD= yes
USE_MYSQL= yes
IGNORE_WITH_MYSQL= 323
-USE_PHP= iconv mbstring pcre session xml zlib readline mysql
+USE_PHP= iconv mbstring pcre session xml zlib readline
IGNORE_WITH_PHP= 4
WANT_PHP_WEB= yes
MEDIAWIKIDIR?= www/mediawiki
-OPTIONS= LDAP "Use LDAP authentication" off
+OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
+ LDAP "Use LDAP authentication" off
.include <bsd.port.pre.mk>
+
+.if defined(WITH_PGSQL)
+USE_PHP+= pgsql
+.else
+USE_PHP+= mysql
+.endif
.if defined(WITH_LDAP)
USE_PHP+= ldap
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list