aboutsummaryrefslogtreecommitdiffstats
path: root/www/otrs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/otrs/Makefile')
-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