mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add PostgreSQL support
PR: ports/106559 Submitted by: Gerrit Beine<gerrit.beine@gmx.de> (maintainer)
This commit is contained in:
parent
379c8a06c3
commit
eb9ca73379
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179432
1 changed files with 11 additions and 2 deletions
|
@ -16,18 +16,27 @@ COMMENT= The wiki engine used by Wikipedia
|
|||
|
||||
CONFLICTS= mediawiki-1.[0-68-9].*
|
||||
|
||||
NO_LATEST_LINK= yes
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_MYSQL= yes
|
||||
IGNORE_WITH_MYSQL= 323
|
||||
USE_PHP= iconv mbstring pcre session xml zlib readline mysql
|
||||
USE_PHP= iconv mbstring pcre session xml zlib readline
|
||||
IGNORE_WITH_PHP= 4
|
||||
WANT_PHP_WEB= yes
|
||||
MEDIAWIKIDIR?= www/mediawiki
|
||||
|
||||
OPTIONS= LDAP "Use LDAP authentication" off
|
||||
OPTIONS= PGSQL "Use PostgreSQL instead of MySQL (not funtional)" off \
|
||||
LDAP "Use LDAP authentication" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
USE_PHP+= pgsql
|
||||
.else
|
||||
USE_PHP+= mysql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
USE_PHP+= ldap
|
||||
.endif
|
||||
|
|
Loading…
Add table
Reference in a new issue