diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2006-10-11 18:53:38 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2006-10-11 18:53:38 +0000 |
commit | c9da25be4e6a764b1f7ffef30cc5b342673a3ba4 (patch) | |
tree | d609e77fd58d5b7dc99569b009617883794cbaed /security/pinentry/options.mk | |
parent | 8239c4b98b9f8556f88977d98f4267972c6595b2 (diff) | |
download | pkgsrc-c9da25be4e6a764b1f7ffef30cc5b342673a3ba4.tar.gz |
Latest pinentry has new GTK+-2 Pinentry option. Enable or disable
according to build options.
Diffstat (limited to 'security/pinentry/options.mk')
-rw-r--r-- | security/pinentry/options.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/security/pinentry/options.mk b/security/pinentry/options.mk index 5a87be1e875..5fbfce06b6e 100644 --- a/security/pinentry/options.mk +++ b/security/pinentry/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2006/10/11 14:55:59 shannonjr Exp $ +# $NetBSD: options.mk,v 1.4 2006/10/11 18:53:38 shannonjr Exp $ # # XXX This usage of bsd.options.mk is incorrect. The package should @@ -8,7 +8,7 @@ # pinentry-qt PKG_OPTIONS_VAR= PKG_OPTIONS.pinentry -PKG_SUPPORTED_OPTIONS= gtk qt +PKG_SUPPORTED_OPTIONS= gtk gtk2 qt .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mgtk) @@ -20,6 +20,15 @@ CONFIGURE_ARGS+= --disable-pinentry-gtk PLIST_SUBST+= USE_GTK='@comment ' .endif +.if !empty(PKG_OPTIONS:Mgtk2) +CONFIGURE_ARGS+= --enable-pinentry-gtk2 +PLIST_SUBST+= USE_GTK2= +. include "../../x11/gtk2/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-pinentry-gtk2 +PLIST_SUBST+= USE_GTK2='@comment ' +.endif + .if !empty(PKG_OPTIONS:Mqt) USE_LANGUAGES+= c c++ USE_TOOLS+= gmake |