diff options
author | garga <garga@FreeBSD.org> | 2005-12-23 10:30:27 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-12-23 10:30:27 +0000 |
commit | 610ad94cac22d6d0498f96add723d45388160473 (patch) | |
tree | 5bf9224207d12d3587377080ff1a3d68112378f2 /www/phpwiki13 | |
parent | b7c3f8a9806cc66d0c46f2a0d7fda94773cc3f79 (diff) | |
download | FreeBSD-ports-610ad94cac22d6d0498f96add723d45388160473.zip FreeBSD-ports-610ad94cac22d6d0498f96add723d45388160473.tar.gz |
- 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/phpwiki13')
-rw-r--r-- | www/phpwiki13/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/phpwiki13/Makefile b/www/phpwiki13/Makefile index 62520b3..a9cf1a2 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 |