aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-Class-Schema-Loader
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-06-10 10:23:40 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-06-10 10:23:40 +0800
commitdec45986bff85c0365eb2b54ca6ca712e1f9a755 (patch)
tree500b9c8d6a6bca8915a8cfea2f87995c371489f0 /databases/p5-DBIx-Class-Schema-Loader
parent09ffbf1b6fcdae94af13731ef99d0662c86288a6 (diff)
downloadfreebsd-ports-gnome-dec45986bff85c0365eb2b54ca6ca712e1f9a755.tar.gz
freebsd-ports-gnome-dec45986bff85c0365eb2b54ca6ca712e1f9a755.tar.zst
freebsd-ports-gnome-dec45986bff85c0365eb2b54ca6ca712e1f9a755.zip
- here's a better idea: use the USE_* macros.
- Bump PORTREVISION
Diffstat (limited to 'databases/p5-DBIx-Class-Schema-Loader')
-rw-r--r--databases/p5-DBIx-Class-Schema-Loader/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/p5-DBIx-Class-Schema-Loader/Makefile b/databases/p5-DBIx-Class-Schema-Loader/Makefile
index aad1ca74716a..2d173c173219 100644
--- a/databases/p5-DBIx-Class-Schema-Loader/Makefile
+++ b/databases/p5-DBIx-Class-Schema-Loader/Makefile
@@ -7,6 +7,7 @@
PORTNAME= DBIx-Class-Schema-Loader
PORTVERSION= 0.07000
+PORTREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -36,16 +37,16 @@ OPTIONS= SQLITE "SQLite Support" Off \
.include <bsd.port.options.mk>
.if defined(WITH_SQLITE)
-RUN_DEPENDS+= p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite
+USE_SQLITE= yes
.endif
.if defined(WITH_MYSQL)
-RUN_DEPENDS+= p5-DBD-mysql>=4.004:${PORTSDIR}/databases/p5-DBD-mysql
+USE_MYSQL= yes
.endif
.if defined(WITH_PGSQL)
-RUN_DEPENDS+= p5-DBD-Pg>=1.49:${PORTSDIR}/databases/p5-DBD-Pg
+USE_PGSQL= yes
.endif
.if defined(WITH_ORACLE)
-RUN_DEPENDS+= p5-DBD-Oracle>=0.19:${PORTSDIR}/databases/p5-DBD-Oracle
+RUN_DEPENDS+= p5-DBD-Oracle>=0.19:${PORTSDIR}/databases/p5-DBD-Oracle
.endif
PERL_CONFIGURE= 5.8.0+