Skip to content

Commit

Permalink
libgcrypt: update to libgcrypt-1.7.3
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <[email protected]>
(cherry picked from commit 2f80c79a0bbb3226bacb0266764202f2a2530e3d)
  • Loading branch information
sraue authored and MilhouseVH committed Nov 16, 2016
1 parent 3dd3941 commit 921b294
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
14 changes: 11 additions & 3 deletions packages/security/libgcrypt/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
################################################################################

PKG_NAME="libgcrypt"
PKG_VERSION="1.6.5"
PKG_VERSION="1.7.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPLv2"
Expand All @@ -31,10 +31,18 @@ PKG_LONGDESC="Libgcrypt is a general purpose cryptographic library based on the
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"

PKG_CONFIGURE_OPTS_TARGET="ac_cv_sys_symbol_underscore=no \
PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC \
ac_cv_sys_symbol_underscore=no \
--enable-asm \
--with-gnu-ld \
--with-libgpg-error-prefix=$SYSROOT_PREFIX/usr"
--with-libgpg-error-prefix=$SYSROOT_PREFIX/usr \
--disable-doc"

pre_configure_target() {
# libgcrypt-1.7.x fails to build with LTO support
# see for example https://bugs.gentoo.org/show_bug.cgi?id=581114
strip_lto
}

post_makeinstall_target() {
sed -e "s:\(['= ]\)\"/usr:\\1\"$SYSROOT_PREFIX/usr:g" -i src/$PKG_NAME-config
Expand Down
14 changes: 0 additions & 14 deletions packages/security/libgcrypt/patches/libgcrypt-disable-docs.patch

This file was deleted.

0 comments on commit 921b294

Please sign in to comment.