aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-23 18:30:27 +0800
committergarga <garga@FreeBSD.org>2005-12-23 18:30:27 +0800
commit610ad94cac22d6d0498f96add723d45388160473 (patch)
tree5bf9224207d12d3587377080ff1a3d68112378f2 /www
parentb7c3f8a9806cc66d0c46f2a0d7fda94773cc3f79 (diff)
downloadfreebsd-ports-gnome-610ad94cac22d6d0498f96add723d45388160473.tar.gz
freebsd-ports-gnome-610ad94cac22d6d0498f96add723d45388160473.tar.zst
freebsd-ports-gnome-610ad94cac22d6d0498f96add723d45388160473.zip
- Improved PHP version checking method
- Removed mysql dependency from php dependency list - should be chosen from OPTIONS PR: ports/90824 Submitted by: maintainer
Diffstat (limited to 'www')
-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