- Add RUN_DEPENDS entries for extra dependencies after RUN_DEPENDS:=${BUILD_DEPENDS} line -- only started to be necessary when I added the colon
- DB_TYPE is no longer case sensitive Approved by: rene (mentor, implicit)
This commit is contained in:
parent
7c2e3f3563
commit
39560dc264
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277650
1 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue