diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-06 02:47:29 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-10-06 03:32:20 +0300 |
commit | 58ab8d2c4e3a315c9dda5fccf0079e69c1d4f79f (patch) | |
tree | 84ee8bfc44fd2395c8687bd5bd758cf892b1c451 /app-crypt | |
parent | app-crypt/pinentry: support cross-compile (diff) | |
download | gentoo-58ab8d2c4e3a315c9dda5fccf0079e69c1d4f79f.tar.gz gentoo-58ab8d2c4e3a315c9dda5fccf0079e69c1d4f79f.tar.bz2 gentoo-58ab8d2c4e3a315c9dda5fccf0079e69c1d4f79f.zip |
app-crypt/gnupg: support cross-compile
Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/gnupg/gnupg-2.2.10-r1.ebuild | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild b/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild index 063744008a2f..7d51332a5446 100644 --- a/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild +++ b/app-crypt/gnupg/gnupg-2.2.10-r1.ebuild @@ -17,29 +17,30 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~s IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb wks-server" # Existence of executables is checked during configuration. -DEPEND=">=dev-libs/npth-1.2 +DEPEND="!app-crypt/dirmngr >=dev-libs/libassuan-2.5.0 >=dev-libs/libgcrypt-1.7.3 >=dev-libs/libgpg-error-1.28 >=dev-libs/libksba-1.3.4 + >=dev-libs/npth-1.2 >=net-misc/curl-7.10 - ssl? ( >=net-libs/gnutls-3.0:0= ) - sys-libs/zlib - ldap? ( net-nds/openldap ) bzip2? ( app-arch/bzip2 ) + ldap? ( net-nds/openldap ) readline? ( sys-libs/readline:0= ) smartcard? ( usb? ( virtual/libusb:0 ) ) + ssl? ( >=net-libs/gnutls-3.0:0= ) + sys-libs/zlib tofu? ( >=dev-db/sqlite-3.7 ) - virtual/mta - app-crypt/pinentry - !app-crypt/dirmngr" + virtual/mta" RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-gpg ) - nls? ( virtual/libintl )" + app-crypt/pinentry + nls? ( virtual/libintl ) + selinux? ( sec-policy/selinux-gpg )" -BDEPEND="nls? ( sys-devel/gettext ) - doc? ( sys-apps/texinfo )" +BDEPEND="virtual/pkgconfig + doc? ( sys-apps/texinfo ) + nls? ( sys-devel/gettext )" S="${WORKDIR}/${MY_P}" @@ -81,11 +82,13 @@ src_configure() { $(use_enable wks-server wks-tools) \ $(use_with ldap) \ $(use_with readline) \ + --disable-ntbtls \ --enable-all-tests \ --enable-gpg \ --enable-gpgsm \ --enable-large-secmem \ - CC_FOR_BUILD="$(tc-getBUILD_CC)" + CC_FOR_BUILD="$(tc-getBUILD_CC)" \ + $(./configure --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#") } src_compile() { |