From 1e4f4a6607f83f0ded2ac1604856df820de448b0 Mon Sep 17 00:00:00 2001 From: miwi Date: Sun, 10 Dec 2006 23:09:06 +0000 Subject: - Add PostgreSQL support PR: ports/106559 Submitted by: Gerrit Beine (maintainer) --- www/mediawiki17/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'www') diff --git a/www/mediawiki17/Makefile b/www/mediawiki17/Makefile index c4581fd6665c..83291d4e192a 100644 --- a/www/mediawiki17/Makefile +++ b/www/mediawiki17/Makefile @@ -16,18 +16,27 @@ COMMENT= The wiki engine used by Wikipedia CONFLICTS= mediawiki-1.[0-68-9].* +NO_LATEST_LINK= yes + 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 +.if defined(WITH_PGSQL) +USE_PHP+= pgsql +.else +USE_PHP+= mysql +.endif + .if defined(WITH_LDAP) USE_PHP+= ldap .endif -- cgit