diff options
Diffstat (limited to 'databases')
39 files changed, 382 insertions, 113 deletions
diff --git a/databases/mysql-editor/Makefile b/databases/mysql-editor/Makefile index a05a8ca3b9e..6964d9a1df5 100644 --- a/databases/mysql-editor/Makefile +++ b/databases/mysql-editor/Makefile @@ -15,8 +15,7 @@ DISTNAME= ${PORTNAME} MAINTAINER= mi@aldan.algebra.com COMMENT= CGI scripts in Perl to edit your MySQL tables -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${CGI_BIN}:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${CGI_BIN}:${PORTSDIR}/www/apache13 NO_BUILD= True @@ -32,4 +31,14 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/mysql-editor .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/mysql2pgsql/Makefile b/databases/mysql2pgsql/Makefile index ea588309874..a84f15b8ed5 100644 --- a/databases/mysql2pgsql/Makefile +++ b/databases/mysql2pgsql/Makefile @@ -16,8 +16,7 @@ EXTRACT_ONLY= ${PORTNAME} MAINTAINER= petef@FreeBSD.org COMMENT= Convert a MySQL dump to a PostgreSQL dump -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg PATCH_WRKSRC= ${WRKDIR} USE_PERL5= yes diff --git a/databases/mysqlman/Makefile b/databases/mysqlman/Makefile index cbbf50c8870..65ad2ddc4f8 100644 --- a/databases/mysqlman/Makefile +++ b/databases/mysqlman/Makefile @@ -13,8 +13,7 @@ DISTNAME= mysqlman MAINTAINER= janos.mohacsi@bsd.hu COMMENT= MySQLMan is a web based MySQL database manager written in perl -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${WWW_DIR}:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${WWW_DIR}:${PORTSDIR}/www/apache13 WRKSRC= ${WRKDIR}/${DISTNAME}-${PORTVERSION} RESTRICTED= "not redistributable, license agreement required" @@ -61,4 +60,12 @@ post-install: @${ECHO} "Modify to your needs!" @${ECHO} "" +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + .include <bsd.port.post.mk> diff --git a/databases/p5-ApacheDBILogConfig/Makefile b/databases/p5-ApacheDBILogConfig/Makefile index 20ec00cbdda..6aecdaa6de3 100644 --- a/databases/p5-ApacheDBILogConfig/Makefile +++ b/databases/p5-ApacheDBILogConfig/Makefile @@ -16,7 +16,6 @@ MAINTAINER= dburr@FreeBSD.ORG COMMENT= Perl module that logs access information in a DBI database BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl PERL_CONFIGURE= yes diff --git a/databases/p5-ApacheDBILogger/Makefile b/databases/p5-ApacheDBILogger/Makefile index 659c5b3b94e..1937399624b 100644 --- a/databases/p5-ApacheDBILogger/Makefile +++ b/databases/p5-ApacheDBILogger/Makefile @@ -16,7 +16,6 @@ MAINTAINER= dburr@FreeBSD.ORG COMMENT= A module that tracks what's being transferred in a DBI database BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Apache/DBI.pm:${PORTSDIR}/www/p5-Apache-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl PERL_CONFIGURE= yes diff --git a/databases/p5-Class-DBI-Loader/Makefile b/databases/p5-Class-DBI-Loader/Makefile index c881f943f32..38c467549a8 100644 --- a/databases/p5-Class-DBI-Loader/Makefile +++ b/databases/p5-Class-DBI-Loader/Makefile @@ -17,8 +17,7 @@ COMMENT= Dynamic definition of Class::DBI sub classes BUILD_DEPENDS= ${RUN_DEPENDS} \ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple -RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \ - ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI PERL_CONFIGURE= yes @@ -28,4 +27,14 @@ MAN3= Class::DBI::Loader.3 \ Class::DBI::Loader::SQLite.3 \ Class::DBI::Loader::mysql.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-CSV/Makefile b/databases/p5-DBD-CSV/Makefile index 13d25903b01..16fdd993f11 100644 --- a/databases/p5-DBD-CSV/Makefile +++ b/databases/p5-DBD-CSV/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= erwin@FreeBSD.org COMMENT= DBI driver for CSV files -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS \ +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement RUN_DEPENDS= ${BUILD_DEPENDS} @@ -27,4 +26,14 @@ MAN3= DBD::File.3 \ DBD::CSV.3 \ Bundle::DBD::CSV.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-Excel/Makefile b/databases/p5-DBD-Excel/Makefile index 167017a4d3b..5179aeccaf0 100644 --- a/databases/p5-DBD-Excel/Makefile +++ b/databases/p5-DBD-Excel/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= svenasse@polaris.ca COMMENT= A class for DBI drivers that acts on Excel files -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement \ +BUILD_DEPENDS= ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement \ ${SITE_PERL}/Spreadsheet/ParseExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel \ ${SITE_PERL}/Spreadsheet/WriteExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel RUN_DEPENDS= ${BUILD_DEPENDS} @@ -34,4 +33,14 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-InterBase/Makefile b/databases/p5-DBD-InterBase/Makefile index a13a9da964b..d3c3441acd6 100644 --- a/databases/p5-DBD-InterBase/Makefile +++ b/databases/p5-DBD-InterBase/Makefile @@ -15,9 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= DBI driver for InterBase RDBMS server -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= gds:${PORTSDIR}/databases/firebird -RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -27,4 +25,14 @@ post-patch: MAN3= Bundle::DBD::InterBase.3 DBD::InterBase.3 DBD::InterBase::FAQ.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-LDAP/Makefile b/databases/p5-DBD-LDAP/Makefile index 31a2ee441b4..36dd1941d85 100644 --- a/databases/p5-DBD-LDAP/Makefile +++ b/databases/p5-DBD-LDAP/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= svenasse@polaris.ca COMMENT= DBI interface for accessing LDAP servers -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap +BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap RUN_DEPENDS= ${BUILD_DEPENDS} SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} @@ -25,4 +24,14 @@ PERL_CONFIGURE= yes MAN3= DBD::LDAP.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile index 9c45e3a5dff..dc1eee0bf4f 100644 --- a/databases/p5-DBD-ODBC/Makefile +++ b/databases/p5-DBD-ODBC/Makefile @@ -15,9 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= mat@FreeBSD.org COMMENT= DBD module interfacing the ODBC databases -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= iodbc.3:${PORTSDIR}/databases/libiodbc -RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes CONFIGURE_ARGS+= -o ${LOCALBASE} @@ -28,4 +26,14 @@ post-patch: @${REINPLACE_CMD} -e 's/[[:<:]]our[[:>:]]/my/g' \ -e 's/^ @$$(NOOP)/ @$$(NOOP)/g' ${WRKSRC}/Makefile.PL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-Oracle/Makefile b/databases/p5-DBD-Oracle/Makefile index 69c812044df..964f796f07c 100644 --- a/databases/p5-DBD-Oracle/Makefile +++ b/databases/p5-DBD-Oracle/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= DBI driver for Oracle RDBMS server -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/oracle7/rdbms/demo/oracle.mk:${PORTSDIR}/databases/oracle7-client +BUILD_DEPENDS= ${LOCALBASE}/oracle7/rdbms/demo/oracle.mk:${PORTSDIR}/databases/oracle7-client RUN_DEPENDS= ${BUILD_DEPENDS} ORACLE_HOME= ${LOCALBASE}/oracle7 @@ -38,4 +37,14 @@ post-install: @${INSTALL_SCRIPT} ${WRKSRC}/Oracle.ex/sql ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-Pg-13/Makefile b/databases/p5-DBD-Pg-13/Makefile index d7cf0e3fc23..94e3f269a96 100644 --- a/databases/p5-DBD-Pg-13/Makefile +++ b/databases/p5-DBD-Pg-13/Makefile @@ -16,9 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= fjoe@freebsd.org COMMENT= Provides access to PostgreSQL databases through the DBI -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} -RUN_DEPENDS= ${BUILD_DEPENDS} POSTGRESQL_PORT?= databases/postgresql7 @@ -26,7 +24,17 @@ PERL_CONFIGURE= yes MAN3= DBD::Pg.3 DBD::dbd-pg.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> .if defined(WITH_OLD_LAYOUT) CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \ diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile index d7cf0e3fc23..94e3f269a96 100644 --- a/databases/p5-DBD-Pg/Makefile +++ b/databases/p5-DBD-Pg/Makefile @@ -16,9 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= fjoe@freebsd.org COMMENT= Provides access to PostgreSQL databases through the DBI -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} -RUN_DEPENDS= ${BUILD_DEPENDS} POSTGRESQL_PORT?= databases/postgresql7 @@ -26,7 +24,17 @@ PERL_CONFIGURE= yes MAN3= DBD::Pg.3 DBD::dbd-pg.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> .if defined(WITH_OLD_LAYOUT) CONFIGURE_ENV+= POSTGRES_INCLUDE=${LOCALBASE}/include/pgsql \ diff --git a/databases/p5-DBD-SQLite/Makefile b/databases/p5-DBD-SQLite/Makefile index d2a3c236704..237cc38861f 100644 --- a/databases/p5-DBD-SQLite/Makefile +++ b/databases/p5-DBD-SQLite/Makefile @@ -15,12 +15,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= nork@FreeBSD.org COMMENT= Provides access to SQLite2 databases through the DBI -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= DBD::SQLite.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-SQLite2/Makefile b/databases/p5-DBD-SQLite2/Makefile index d2a3c236704..237cc38861f 100644 --- a/databases/p5-DBD-SQLite2/Makefile +++ b/databases/p5-DBD-SQLite2/Makefile @@ -15,12 +15,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= nork@FreeBSD.org COMMENT= Provides access to SQLite2 databases through the DBI -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= DBD::SQLite.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-Sybase/Makefile b/databases/p5-DBD-Sybase/Makefile index 4e53f4a5110..8f737e1c7d3 100644 --- a/databases/p5-DBD-Sybase/Makefile +++ b/databases/p5-DBD-Sybase/Makefile @@ -16,10 +16,8 @@ PKGNAMEPREFIX= p5- MAINTAINER= sheldonh@FreeBSD.org COMMENT= A Sybase DBI driver for Perl 5 -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= ct.1:${PORTSDIR}/databases/freetds \ intl.5:${PORTSDIR}/devel/gettext -RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes CONFIGURE_ENV+= SYBASE=${LOCALBASE} @@ -27,4 +25,14 @@ CONFIGURE_ENV+= SYBASE=${LOCALBASE} MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= DBD::Sybase.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-XBase/Makefile b/databases/p5-DBD-XBase/Makefile index 00a67620c58..3924c405ca2 100644 --- a/databases/p5-DBD-XBase/Makefile +++ b/databases/p5-DBD-XBase/Makefile @@ -14,8 +14,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= ilia@cgu.chel.su COMMENT= Provides access to XBase (dBase, Fox*) database files through DBI -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI - PERL_CONFIGURE= yes MAN1= dbfdump.1 indexdump.1 @@ -27,4 +25,14 @@ MAN3= DBD::XBase.3 \ XBase::Memo.3 \ XBase::SDBM.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index a1562110d28..65022d6675b 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -16,9 +16,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= MySQL driver for the Perl5 Database Interface (DBI) -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.10) @@ -35,4 +32,12 @@ PERL_CONFIGURE= yes MAN3= Bundle::DBD::mysql.3 DBD::mysql.3 DBD::mysql::INSTALL.3 Mysql.3 +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + .include <bsd.port.post.mk> diff --git a/databases/p5-DBIWrapper/Makefile b/databases/p5-DBIWrapper/Makefile index ad702395a5e..cc8ee414d74 100644 --- a/databases/p5-DBIWrapper/Makefile +++ b/databases/p5-DBIWrapper/Makefile @@ -16,8 +16,7 @@ DISTNAME= dbi_wrapper-${PORTVERSION} MAINTAINER= petef@FreeBSD.org COMMENT= Perl extension for generic DBI database access -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -25,4 +24,14 @@ PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= DBIWrapper.3 DBIWrapper::ResultSet.3 DBIWrapper::XMLParser.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-AnyDBD/Makefile b/databases/p5-DBIx-AnyDBD/Makefile index c412a37acfe..c45ad71989d 100644 --- a/databases/p5-DBIx-AnyDBD/Makefile +++ b/databases/p5-DBIx-AnyDBD/Makefile @@ -15,13 +15,20 @@ PKGNAMEPREFIX= p5- MAINTAINER= svenasse@polaris.ca COMMENT= DBD independant class -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} PERL_CONFIGURE= yes MAN3= DBIx::AnyDBD.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-Browse/Makefile b/databases/p5-DBIx-Browse/Makefile index 9f1a44e8f11..c05f1e1e832 100644 --- a/databases/p5-DBIx-Browse/Makefile +++ b/databases/p5-DBIx-Browse/Makefile @@ -15,12 +15,20 @@ PKGNAMEPREFIX= p5- MAINTAINER= philip@p6m7g8.com COMMENT= DBIx::Browse - Perl extension to browse tables -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI - PERL_CONFIGURE= yes MAN3= DBIx::Browse::CGI.3 \ DBIx::Browse.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-DBSchema/Makefile b/databases/p5-DBIx-DBSchema/Makefile index 65671aab0e3..93c5c50b536 100644 --- a/databases/p5-DBIx-DBSchema/Makefile +++ b/databases/p5-DBIx-DBSchema/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= An OO-interface to database schemas -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/FreezeThaw.pm:${PORTSDIR}/devel/p5-FreezeThaw RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -28,4 +27,14 @@ MAN3= DBIx::DBSchema.3 DBIx::DBSchema::ColGroup.3 \ DBIx::DBSchema::DBD::mysql.3 DBIx::DBSchema::DBD::Pg.3 \ DBIx::DBSchema::DBD::Sybase.3 DBIx::DBSchema::Table.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-DataSource/Makefile b/databases/p5-DBIx-DataSource/Makefile index 162305cdd55..ed9c3875e05 100644 --- a/databases/p5-DBIx-DataSource/Makefile +++ b/databases/p5-DBIx-DataSource/Makefile @@ -15,13 +15,20 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Database-independent create and drop functions -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= DBIx::DataSource.3 DBIx::DataSource::Driver.3 \ DBIx::DataSource::mysql.3 DBIx::DataSource::Pg.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-Ease/Makefile b/databases/p5-DBIx-Ease/Makefile index 2dae9d006eb..ef84d893976 100644 --- a/databases/p5-DBIx-Ease/Makefile +++ b/databases/p5-DBIx-Ease/Makefile @@ -15,11 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= mat@FreeBSD.org COMMENT= Less-code DBI interactions for all drivers -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= DBIx::Ease.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-Password/Makefile b/databases/p5-DBIx-Password/Makefile index 7e2cf22d6df..cbf0aa28da0 100644 --- a/databases/p5-DBIx-Password/Makefile +++ b/databases/p5-DBIx-Password/Makefile @@ -15,11 +15,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= autrijus@autrijus.org COMMENT= Allows you to create a global password file for DB passwords -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI - PERL_CONFIGURE= yes MAN3= DBIx::Password.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-Recordset/Makefile b/databases/p5-DBIx-Recordset/Makefile index 97aa9a321f0..430548be523 100644 --- a/databases/p5-DBIx-Recordset/Makefile +++ b/databases/p5-DBIx-Recordset/Makefile @@ -15,9 +15,6 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Perl module for abstraction and simplification of database access -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} @@ -30,4 +27,14 @@ post-configure: @${PERL} -pi -e 's/^(POD2MAN_EXE.*)$$/\1 -lax/;' \ ${WRKSRC}/Makefile -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-SQLEngine/Makefile b/databases/p5-DBIx-SQLEngine/Makefile index 369f4dd1732..82810ea46f7 100644 --- a/databases/p5-DBIx-SQLEngine/Makefile +++ b/databases/p5-DBIx-SQLEngine/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= hansjoerg.pehofer@uibk.ac.at COMMENT= Extends DBI with high-level operations -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/DBIx/AnyDBD.pm:${PORTSDIR}/databases/p5-DBIx-AnyDBD \ +BUILD_DEPENDS= ${SITE_PERL}/DBIx/AnyDBD.pm:${PORTSDIR}/databases/p5-DBIx-AnyDBD \ ${SITE_PERL}/Class/MakeMethods/Template.pm:${PORTSDIR}/devel/p5-Class-MakeMethods RUN_DEPENDS= ${BUILD_DEPENDS} diff --git a/databases/p5-DBIx-SearchBuilder/Makefile b/databases/p5-DBIx-SearchBuilder/Makefile index 160f2a29a16..59ad3a698b7 100644 --- a/databases/p5-DBIx-SearchBuilder/Makefile +++ b/databases/p5-DBIx-SearchBuilder/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= Perl extension for easy SQL SELECT Statement generation -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/Class/ReturnValue.pm:${PORTSDIR}/devel/p5-Class-ReturnValue +BUILD_DEPENDS= ${SITE_PERL}/Class/ReturnValue.pm:${PORTSDIR}/devel/p5-Class-ReturnValue RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -27,4 +26,14 @@ MAN3= DBIx::SearchBuilder.3 DBIx::SearchBuilder::Handle.3 \ DBIx::SearchBuilder::Handle::mysqlPP.3 \ DBIx::SearchBuilder::Record.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-Tree/Makefile b/databases/p5-DBIx-Tree/Makefile index 94ea8b181e8..34574ac1218 100644 --- a/databases/p5-DBIx-Tree/Makefile +++ b/databases/p5-DBIx-Tree/Makefile @@ -15,10 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= philip@p6m7g8.com COMMENT= Perl module for generating a tree from a self-referential table -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI - PERL_CONFIGURE= yes MAN3= DBIx::Tree.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-XHTML_Table/Makefile b/databases/p5-DBIx-XHTML_Table/Makefile index b4ff5428723..4aa5d0440c4 100644 --- a/databases/p5-DBIx-XHTML_Table/Makefile +++ b/databases/p5-DBIx-XHTML_Table/Makefile @@ -15,11 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= svenasse@polaris.ca COMMENT= Create XHTML tables from SQL queries -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI -RUN_DEPENDS= ${BUILD_DEPENDS} - PERL_CONFIGURE= yes MAN3= DBIx::XHTML_Table.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-DBIx-XML_RDB/Makefile b/databases/p5-DBIx-XML_RDB/Makefile index 38b402112a4..b0a9ba85715 100644 --- a/databases/p5-DBIx-XML_RDB/Makefile +++ b/databases/p5-DBIx-XML_RDB/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Perl extension for creating XML from existing DBI datasources -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -24,4 +23,14 @@ PERL_CONFIGURE= yes MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= DBIx::XML_RDB.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Ima-DBI/Makefile b/databases/p5-Ima-DBI/Makefile index e4044bd05fc..2245b65646a 100644 --- a/databases/p5-Ima-DBI/Makefile +++ b/databases/p5-Ima-DBI/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Database connection caching and organization -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ - ${SITE_PERL}/Class/WhiteHole.pm:${PORTSDIR}/devel/p5-Class-WhiteHole \ +BUILD_DEPENDS= ${SITE_PERL}/Class/WhiteHole.pm:${PORTSDIR}/devel/p5-Class-WhiteHole \ ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable RUN_DEPENDS= ${BUILD_DEPENDS} @@ -24,4 +23,14 @@ PERL_CONFIGURE= yes MAN3= Ima::DBI.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile index 2b29b3ea0f0..f8533e43c4e 100644 --- a/databases/p5-Mysql/Makefile +++ b/databases/p5-Mysql/Makefile @@ -16,8 +16,7 @@ DISTNAME= Msql-Mysql-modules-${PORTVERSION} MAINTAINER= jedgar@FreeBSD.org COMMENT= Perl5 modules for accessing MySQL databases -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable RUN_DEPENDS= ${BUILD_DEPENDS} .include <bsd.port.pre.mk> @@ -42,4 +41,12 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} pre-configure: @${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.pm +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + .include <bsd.port.post.mk> diff --git a/databases/p5-POE-Component-DBIAgent/Makefile b/databases/p5-POE-Component-DBIAgent/Makefile index 7d87457a958..a2fd31cadd1 100644 --- a/databases/p5-POE-Component-DBIAgent/Makefile +++ b/databases/p5-POE-Component-DBIAgent/Makefile @@ -16,7 +16,6 @@ MAINTAINER= skv@FreeBSD.org COMMENT= POE Component for running asynchronous DBI calls BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/POE.pm:${PORTSDIR}/devel/p5-POE \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/MethodMaker.pm:${PORTSDIR}/devel/p5-Class-MethodMaker RUN_DEPENDS= ${BUILD_DEPENDS} @@ -27,4 +26,14 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= POE::Component::DBIAgent.3 POE::Component::DBIAgent::Helper.3 \ POE::Component::DBIAgent::Queue.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-ResourcePool-Resource-DBI/Makefile b/databases/p5-ResourcePool-Resource-DBI/Makefile index c06b68416b7..aef6635ca35 100644 --- a/databases/p5-ResourcePool-Resource-DBI/Makefile +++ b/databases/p5-ResourcePool-Resource-DBI/Makefile @@ -16,8 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= erwin@FreeBSD.org COMMENT= ResourcePool::Resource::DBI - A ResourcePool wrapper for DBI -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/ResourcePool.pm:${PORTSDIR}/devel/p5-ResourcePool \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/ResourcePool.pm:${PORTSDIR}/devel/p5-ResourcePool RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -27,4 +26,14 @@ MAN3= ResourcePool::Resource::DBI.3 ResourcePool::Factory::DBI.3 \ ResourcePool::Command::DBI::Execute.3 ResourcePool::Command::DBI::Select.3 \ ResourcePool::Command::DBI::SelectRow.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-Tangram/Makefile b/databases/p5-Tangram/Makefile index af30e50cb37..564042da357 100644 --- a/databases/p5-Tangram/Makefile +++ b/databases/p5-Tangram/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= skv@FreeBSD.org COMMENT= Orthogonal Object Persistence in Relational Databases -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Set/Object.pm:${PORTSDIR}/devel/p5-Set-Object RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -33,4 +32,14 @@ MAN3= Tangram.3 Tangram::Array.3 Tangram::Core.3 Tangram::Cursor.3 \ Tangram::Tour.3 Tangram::Type.3 Tangram::Type::Extending.3 \ Tangram::mysql.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/p5-sqlrelay/Makefile b/databases/p5-sqlrelay/Makefile index 939cbad866e..02bdcee42f7 100644 --- a/databases/p5-sqlrelay/Makefile +++ b/databases/p5-sqlrelay/Makefile @@ -16,9 +16,7 @@ MAINTAINER= knu@FreeBSD.org COMMENT= Perl5 modules to access to SQL Relay, including a DBD interface EXTRACT_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR} -RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI USE_PERL5= yes @@ -55,4 +53,14 @@ do-install: ${MAKE_ARGS} ${INSTALL_TARGET}; \ done -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +.include <bsd.port.post.mk> diff --git a/databases/postgresql_autodoc/Makefile b/databases/postgresql_autodoc/Makefile index ebf42ce30cd..c9cb9ead247 100644 --- a/databases/postgresql_autodoc/Makefile +++ b/databases/postgresql_autodoc/Makefile @@ -15,7 +15,6 @@ MAINTAINER= olgeni@FreeBSD.org COMMENT= Automatic documentation generator for postgresql databases BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg GNU_CONFIGURE= yes |