aboutsummaryrefslogtreecommitdiffstats
path: root/www/otrs
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-08-25 20:19:43 +0800
committerbapt <bapt@FreeBSD.org>2014-08-25 20:19:43 +0800
commit87aec91bd5446e77c5e90d85cdee7d3c53cdeaad (patch)
treeab9fc35c083927690b346175a37b069a1d344622 /www/otrs
parent950a3aa9e52528f37bf649492bc98b1cf37acc09 (diff)
downloadfreebsd-ports-gnome-87aec91bd5446e77c5e90d85cdee7d3c53cdeaad.tar.gz
freebsd-ports-gnome-87aec91bd5446e77c5e90d85cdee7d3c53cdeaad.tar.zst
freebsd-ports-gnome-87aec91bd5446e77c5e90d85cdee7d3c53cdeaad.zip
Convert to USES=pgsql
Diffstat (limited to 'www/otrs')
-rw-r--r--www/otrs/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/www/otrs/Makefile b/www/otrs/Makefile
index 15bfac8b9555..53c894c03196 100644
--- a/www/otrs/Makefile
+++ b/www/otrs/Makefile
@@ -86,6 +86,9 @@ USE_APACHE_RUN= 22+
PLIST_SUB+= VER_CKEDITOR="4.3" OTRS_USER=${USERS} WWWOWN=${WWWOWN}
+PGSQL_RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
+PGSQL_USES= pgsql
+
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -93,11 +96,6 @@ RUN_DEPENDS+= p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
USE_MYSQL= yes
.endif
-.if ${PORT_OPTIONS:MPGSQL}
-RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
-USE_PGSQL= yes
-.endif
-
RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:${PORTSDIR}/www/mod_perl2 \
p5-Apache-DBI>0:${PORTSDIR}/www/p5-Apache-DBI