Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2006 11:49:45 GMT
From:      Gerrit Beine<gerrit.beine@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/106559: Update port: www/mediawiki17
Message-ID:  <200612101149.kBABnjes039969@www.freebsd.org>
Resent-Message-ID: <200612101150.kBABo5ZY075039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106559
>Category:       ports
>Synopsis:       Update port: www/mediawiki17
>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:05 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@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/mediawiki17/Makefile mediawiki17/Makefile
--- /usr/ports/www/mediawiki17/Makefile	Wed Dec  6 15:11:14 2006
+++ mediawiki17/Makefile	Fri Dec  8 11:58:19 2006
@@ -16,17 +16,26 @@
 
 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 <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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612101149.kBABnjes039969>