Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 16:08:07 -0600 (CST)
From:      Babak Farrokhi <babak@farrokhi.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90824: maintainer-update port www/phpwiki13
Message-ID:  <20051222220807.34F455645A@royalway.propagation.net>
Resent-Message-ID: <200512222210.jBMMA3vL019887@freefall.freebsd.org>

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

>Number:         90824
>Category:       ports
>Synopsis:       maintainer-update port www/phpwiki13
>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:   Thu Dec 22 22:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root@royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
- Improved PHP version checking method
- Removed mysql dependency from php dependency list - should be chosen from OPTIONS
>How-To-Repeat:
	
>Fix:

	

--- phpwiki13.patch begins here ---
diff -ruN phpwiki13.orig/Makefile phpwiki13/Makefile
--- phpwiki13.orig/Makefile	Fri Dec 23 01:25:29 2005
+++ phpwiki13/Makefile	Fri Dec 23 01:31:24 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	phpwiki
 PORTVERSION=	1.3.11p1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	phpwiki
@@ -18,7 +18,7 @@
 CONFLICTS+=	phpwiki-1.2*
 LATEST_LINK=	phpwiki13
 
-USE_PHP=	ctype pcre posix session tokenizer xml zlib mysql
+USE_PHP=	ctype pcre posix session tokenizer xml zlib
 
 NO_BUILD=	YES
 PHP4_PORT?=	www/mod_php4
@@ -30,10 +30,15 @@
 		index.php passencrypt.php wiki
 ROOTDIRS=	config lib locale pgsrc schemas tests themes uploads
 DOCFILES=	INSTALL LICENSE README TODO UPGRADING
+LOCALBASE?=	/usr/local
 
 OPTIONS=	MYSQL "Use MySQL backend" on \
 		PGSQL "Use PostgreSQL backend" off \
 		DB4   "Use Berkeley DB4 backend" off
+
+.if exists(${LOCALBASE}/etc/php.conf)
+.include "${LOCALBASE}/etc/php.conf"
+.endif
 
 .if defined(PHP_VER) && ${PHP_VER} == 5
 OPTIONS+=	SQLITE "Use SQLite backend" off
--- phpwiki13.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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