diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /databases/freetds | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'databases/freetds')
-rw-r--r-- | databases/freetds/PLIST | 4 | ||||
-rw-r--r-- | databases/freetds/options.mk | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/databases/freetds/PLIST b/databases/freetds/PLIST index c92af6c247b..ea5fac1dc8e 100644 --- a/databases/freetds/PLIST +++ b/databases/freetds/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2005/12/31 04:05:31 jlam Exp $ +@comment $NetBSD: PLIST,v 1.16 2008/04/12 22:42:59 jlam Exp $ bin/bsqldb bin/defncopy bin/freebcp @@ -21,7 +21,7 @@ include/tdsver.h lib/libct.la lib/libsybdb.la lib/libtds.la -${ODBC}lib/libtdsodbc.la +${PLIST.odbc}lib/libtdsodbc.la lib/libtdssrv.la man/man1/bsqldb.1 man/man1/defncopy.1 diff --git a/databases/freetds/options.mk b/databases/freetds/options.mk index 7e384b8c7f2..ac89d090fd3 100644 --- a/databases/freetds/options.mk +++ b/databases/freetds/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2005/12/30 21:07:42 jlam Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/12 22:42:59 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.freetds PKG_OPTIONS_OPTIONAL_GROUPS+= odbc @@ -6,6 +6,8 @@ PKG_OPTIONS_GROUP.odbc= iodbc #unixodbc .include "../../mk/bsd.options.mk" +PLIST_VARS+= odbc + ### ### Whether to build with iODBC to enable ODBC access to TDS servers. ### @@ -14,7 +16,7 @@ ODBC_DRIVER= yes . include "../../databases/iodbc/buildlink3.mk" CONFIGURE_ARGS+= --enable-odbc CONFIGURE_ARGS+= --with-iodbc=${BUILDLINK_PREFIX.iodbc} -PLIST_SUBST+= ODBC= +PLIST.odbc= yes .endif ### @@ -24,10 +26,9 @@ PLIST_SUBST+= ODBC= . include "../../databases/unixodbc/buildlink3.mk" CONFIGURE_ARGS+= --enable-odbc CONFIGURE_ARGS+= --with-unixodbc=${BUILDLINK_PREFIX.unixodbc} -PLIST_SUBST+= ODBC= +PLIST.odbc= yes .endif .if empty(PKG_OPTIONS:Miodbc) && empty(PKG_OPTIONS:Munixodbc) CONFIGURE_ARGS+= --disable-odbc -PLIST_SUBST+= ODBC="@comment " .endif |