Browse Source

pinentry: fixed to not try to build frontends not supported by the target

stable/0.6
Christian Wiese 12 years ago
parent
commit
8fbee7b75d
  1. 29
      security/pinentry/pinentry.conf

29
security/pinentry/pinentry.conf

@ -0,0 +1,29 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../pinentry/pinentry.conf
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
# always build ncurses frontend
pkgprefix -t ncurses
# optional frontends
if ! pkginstalled -f gtk+; then
var_append extraconfopt ' ' "--disable-pinentry-gtk2"
fi
if ! pkginstalled -f qt3; then
var_append extraconfopt ' ' "--disable-pinentry-qt"
fi
if ! pkginstalled -f qt4; then
var_append extraconfopt ' ' "--disable-pinentry-qt4"
fi
Loading…
Cancel
Save