aboutsummaryrefslogtreecommitdiff
path: root/www/otrs
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-08-25 12:19:43 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-08-25 12:19:43 +0000
commit964858137d6f68a2a2ed9747e79ed71e11c0428c (patch)
treeab9fc35c083927690b346175a37b069a1d344622 /www/otrs
parentea1ddaae969d9bec6264bed6d4cd09a57ebbd8a6 (diff)
downloadports-964858137d6f68a2a2ed9747e79ed71e11c0428c.tar.gz
ports-964858137d6f68a2a2ed9747e79ed71e11c0428c.zip
Notes
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