ports/90824: maintainer-update port www/phpwiki13
Babak Farrokhi
babak at farrokhi.net
Thu Dec 22 22:10:05 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list