diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 9ff693053b2b42cd6a29b886e071ad01acdeefe2 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /databases/sqlrelay/options.mk | |
parent | 4a580ef74536ed1f7c6a7ecd5a26e46a93aec9b3 (diff) | |
download | pkgsrc-9ff693053b2b42cd6a29b886e071ad01acdeefe2.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'databases/sqlrelay/options.mk')
-rw-r--r-- | databases/sqlrelay/options.mk | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/databases/sqlrelay/options.mk b/databases/sqlrelay/options.mk index db86d97bb63..4bfb8431daf 100644 --- a/databases/sqlrelay/options.mk +++ b/databases/sqlrelay/options.mk @@ -1,10 +1,12 @@ -# $NetBSD: options.mk,v 1.5 2006/04/30 16:01:21 joerg Exp $ +# $NetBSD: options.mk,v 1.6 2008/04/12 22:42:59 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.sqlrelay PKG_SUPPORTED_OPTIONS+= mysql pgsql sqlite odbc freetds perl .include "../../mk/bsd.options.mk" +PLIST_VARS+= freetds mysql odbc perl pgsql sqlite + .if !empty(PKG_OPTIONS:Mperl) PERL5_PACKLIST= auto/SQLRelay/Connection/.packlist PERL5_PACKLIST+= auto/SQLRelay/Cursor/.packlist @@ -14,7 +16,7 @@ CONFIGURE_ARGS+= --with-perl-site-arch=${PERL5_INSTALLVENDORARCH:Q} CONFIGURE_ARGS+= --with-perl-site-lib=${PERL5_INSTALLVENDORLIB:Q} CONFIGURE_ARGS+= --with-perl-install-man3-dir=${PERL5_INSTALLVENDORMAN3DIR:Q} -PLIST_SUBST+= COND_PERL="" +PLIST.perl= yes .include "../../lang/perl5/buildlink3.mk" .include "../../lang/perl5/packlist.mk" @@ -22,50 +24,44 @@ PLIST_SUBST+= COND_PERL="" .else CONFIGURE_ARGS+= --disable-perl -PLIST_SUBST+= COND_PERL="@comment " .endif .if !empty(PKG_OPTIONS:Mmysql) CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client:Q} -PLIST_SUBST+= COND_MYSQL="" +PLIST.mysql= yes .include "../../mk/mysql.buildlink3.mk" .else CONFIGURE_ARGS+= --disable-mysql -PLIST_SUBST+= COND_MYSQL="@comment " .endif .if !empty(PKG_OPTIONS:Mpgsql) CONFIGURE_ARGS+= --with-postgresql=${PGSQL_PREFIX:Q} +PLIST.pgsql= yes .include "../../mk/pgsql.buildlink3.mk" -PLIST_SUBST+= COND_PGSQL="" .else CONFIGURE_ARGS+= --disable-postgresql -PLIST_SUBST+= COND_PGSQL="@comment " .endif .if !empty(PKG_OPTIONS:Msqlite) CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite3:Q} -PLIST_SUBST+= COND_SQLITE="" +PLIST.sqlite= yes .include "../../databases/sqlite3/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-sqlite -PLIST_SUBST+= COND_SQLITE="@comment " .endif .if !empty(PKG_OPTIONS:Modbc) CONFIGURE_ARGS+= --with-odbc=${BUILDLINK_PREFIX.unixodbc:Q} -PLIST_SUBST+= COND_ODBC="" +PLIST.odbc= yes .include "../../databases/unixodbc/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-odbc -PLIST_SUBST+= COND_ODBC="@comment " .endif .if !empty(PKG_OPTIONS:Mfreetds) CONFIGURE_ARGS+= --with-freetds=${BUILDLINK_PREFIX.freetds:Q} -PLIST_SUBST+= COND_FREETDS="" +PLIST.freetds= yes .include "../../databases/freetds/buildlink3.mk" .else CONFIGURE_ARGS+= --disable-freetds -PLIST_SUBST+= COND_FREETDS="@comment " .endif |