diff options
author | itetcu <itetcu@FreeBSD.org> | 2006-07-08 04:56:48 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2006-07-08 04:56:48 +0800 |
commit | 4504ce9078dd0360609b053f30afac3e089a0aa4 (patch) | |
tree | eff29df674c465b9b658ed4770011f788f4a1ed0 /mail/postfixadmin | |
parent | efbd9586ec0598c689e34f6a11f0dd3369292ea0 (diff) | |
download | freebsd-ports-gnome-4504ce9078dd0360609b053f30afac3e089a0aa4.tar.gz freebsd-ports-gnome-4504ce9078dd0360609b053f30afac3e089a0aa4.tar.zst freebsd-ports-gnome-4504ce9078dd0360609b053f30afac3e089a0aa4.zip |
- Give the posibility to use mysqli as Db backend
- fix typos
PR: ports/99394
Submitted by: Darren Pilgrim <darren.pilgrim@bitfreak.org>
Diffstat (limited to 'mail/postfixadmin')
-rw-r--r-- | mail/postfixadmin/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/postfixadmin/Makefile b/mail/postfixadmin/Makefile index 6e35343a1830..c1832cd96ba4 100644 --- a/mail/postfixadmin/Makefile +++ b/mail/postfixadmin/Makefile @@ -7,7 +7,7 @@ PORTNAME= postfixadmin PORTVERSION= 2.1.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= mail www MASTER_SITES= http://high5.net/postfixadmin/ \ http://sce-tindy.tecnik93.com/FreeBSD/ports/${PORTNAME}/sources/ @@ -21,8 +21,9 @@ NO_BUILD= yes SUB_FILES+= pkg-message OPTIONS= MYSQL "Use MySQL to store config data" on -OPTIONS+= PGSQL "Use PostgresQL to store config data" off -OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix" off +OPTIONS+= MYSQLI "Use MySQL 4.1+ to store config data" off +OPTIONS+= PGSQL "Use PostgreSQL to store config data" off +OPTIONS+= POSTFIX_LOCAL "RUN_DEPEND on postfix (OPTIONAL)" off .include <bsd.port.pre.mk> @@ -33,11 +34,15 @@ USE_PHP= pcre session USE_PHP+= mysql .endif +.ifdef(WITH_MYSQLI) +USE_PHP+= mysqli +.endif + .ifdef(WITH_PGSQL) USE_PHP+= pgsql .endif -.ifdef(WITHOUT_MYSQL) && !defined(WITH_PGSQL) +.ifdef(WITHOUT_MYSQL) && !defined(WITH_MYSQLI) && !defined(WITH_PGSQL) IGNORE= needs at least one database backend .endif @@ -81,4 +86,3 @@ post-install: ${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> -# DO NOT DELETE |