aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-07-13 20:11:56 +0000
committerChris Rees <crees@FreeBSD.org>2011-07-13 20:11:56 +0000
commit39560dc26408351ef4940437f2f3812139ed1e4d (patch)
treeb29d2e318ee5496af2c9219fe673c9b21296328b /mail
parent7c2e3f3563d07927b529ba2a8c783c888d493dd0 (diff)
downloadports-39560dc26408351ef4940437f2f3812139ed1e4d.tar.gz
ports-39560dc26408351ef4940437f2f3812139ed1e4d.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/sympa/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile
index 864a64110b8a..fb6d11456824 100644
--- a/mail/sympa/Makefile
+++ b/mail/sympa/Makefile
@@ -93,17 +93,23 @@ USE_MYSQL= yes
.if defined(WITH_FASTCGI)
BUILD_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
+RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi \
+ ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
.endif
-.if ${DB_TYPE} == "Oracle"
+.if ${DB_TYPE:L} == "oracle"
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle
-.elif ${DB_TYPE} == "Pg"
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle
+.elif ${DB_TYPE:L} == "pg"
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
-.elif ${DB_TYPE} == "Sybase"
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+.elif ${DB_TYPE:L} == "sybase"
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Sybase.pm:${PORTSDIR}/databases/p5-DBD-Sybase
-.elif ${DB_TYPE} == "mysql"
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Sybase.pm:${PORTSDIR}/databases/p5-DBD-Sybase
+.elif ${DB_TYPE:L} == "mysql"
. if exists (${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}/Makefile)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER}
. else
IGNORE= Your MySQL installation is at ${MYSQL_VER}, and there is no p5-DBD-mysql${MYSQL_VER} port
. endif