aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-Class
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-05-31 19:19:32 +0800
committerbapt <bapt@FreeBSD.org>2012-05-31 19:19:32 +0800
commit68b530317704ed344f567080786046479ed054fb (patch)
tree93fe9eebc56e2451ba426603948adb8749cb38e9 /databases/p5-DBIx-Class
parentaedee365f6b7833ae31d4b673dcd979c369e4ac2 (diff)
downloadfreebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.gz
freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.tar.zst
freebsd-ports-gnome-68b530317704ed344f567080786046479ed054fb.zip
Convert to new options framework
Diffstat (limited to 'databases/p5-DBIx-Class')
-rw-r--r--databases/p5-DBIx-Class/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/p5-DBIx-Class/Makefile b/databases/p5-DBIx-Class/Makefile
index ed490b0809d7..29b8368f07fb 100644
--- a/databases/p5-DBIx-Class/Makefile
+++ b/databases/p5-DBIx-Class/Makefile
@@ -60,7 +60,8 @@ TEST_DEPENDS= p5-Class-DBI-Plugin-DeepAbstractSearch>=0:${PORTSDIR}/databases/p5
p5-Time-Piece-MySQL>=0:${PORTSDIR}/databases/p5-Time-Piece-MySQL \
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
-OPTIONS= SQLT "SQL::Translator (generate DDL from schema)" off
+OPTIONS_DEFINE= SQLT
+SQLT_DESC= SQL::Translator (generate DDL from schema)
PERL_CONFIGURE= yes
CONFIGURE_ENV= DBICTEST_NO_SQLITE_CHECK=1
@@ -183,7 +184,7 @@ MAN3= DBIx::Class.3 \
.include <bsd.port.options.mk>
-.ifdef(WITH_SQLT)
+.if ${PORT_OPTIONS:MSQLT}
RUN_DEPENDS+= p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator
.endif