diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /databases/myodbc | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'databases/myodbc')
-rw-r--r-- | databases/myodbc/PLIST | 4 | ||||
-rw-r--r-- | databases/myodbc/options.mk | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/databases/myodbc/PLIST b/databases/myodbc/PLIST index 79fe114380c..e85922c9961 100644 --- a/databases/myodbc/PLIST +++ b/databases/myodbc/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2006/01/23 18:53:45 xtraeme Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:42:59 jlam Exp $ bin/myodbc3m lib/libmyodbc3.la -${WITH_GUI}lib/libmyodbc3S.la +${PLIST.gui}lib/libmyodbc3S.la lib/libmyodbc3_r.la share/doc/myodbc/README share/doc/myodbc/README.osx diff --git a/databases/myodbc/options.mk b/databases/myodbc/options.mk index 02ab69d6907..71ff3be9c9a 100644 --- a/databases/myodbc/options.mk +++ b/databases/myodbc/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2007/01/14 12:28:56 obache Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:42:59 jlam Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.myodbc @@ -9,14 +9,15 @@ PKG_SUGGESTED_OPTIONS= myodbc-iodbc .include "../../mk/bsd.options.mk" +PLIST_VARS+= gui + .if !empty(PKG_OPTIONS:Mmyodbc-gui) . include "../../x11/qt3-tools/buildlink3.mk" CONFIGURE_ARGS+= --enable-gui USE_LANGUAGES= c c++ -PLIST_SUBST+= WITH_GUI= +PLIST.gui= yes .else CONFIGURE_ARGS+= --disable-gui -PLIST_SUBST+= WITH_GUI='@comment ' .endif .if !empty(PKG_OPTIONS:Mmyodbc-iodbc) |