aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/phpwiki13/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/phpwiki13/Makefile b/www/phpwiki13/Makefile
index 62520b390b6a..a9cf1a2b2ae4 100644
--- a/www/phpwiki13/Makefile
+++ b/www/phpwiki13/Makefile
@@ -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 @@ COMMENT= A PHP WikiWikiWeb
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
@@ -35,6 +35,10 @@ 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
.endif