From 627e25a91ee4c603f8d163462a39af0405929b91 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 12 May 2019 18:44:56 +0200 Subject: [PATCH] gnutls: restore guile bindings In the "50a7574a5f2 upgpkg: gnutls 3.6.5-1" commit, guile support was dropped because gnutls didn't build with recent guile 2.2.x. Now that the compilation issues are gone, we can restore guile support. Signed-off-by: Denis 'GNUtoo' Carikli --- gnutls/trunk/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnutls/trunk/PKGBUILD b/gnutls/trunk/PKGBUILD index 12c8974e03e..33c9ceff8ca 100644 --- a/gnutls/trunk/PKGBUILD +++ b/gnutls/trunk/PKGBUILD @@ -3,7 +3,7 @@ pkgname=gnutls pkgver=3.6.7 -pkgrel=1 +pkgrel=2 pkgdesc="A library which provides a secure layer over a reliable transport layer" arch=('x86_64') license=('GPL3' 'LGPL2.1') @@ -12,6 +12,7 @@ options=('!zipman') depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit' 'libidn2' 'libidn2.so' 'libunistring') checkdepends=('net-tools') +optdepends=('guile: for use with Guile bindings') source=(https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/${pkgname}-${pkgver}.tar.xz{,.sig}) sha256sums=('5b3409ad5aaf239808730d1ee12fdcd148c0be00262c7edf157af655a8a188e2' 'SKIP') @@ -26,7 +27,7 @@ build() { --with-zlib \ --disable-static \ --with-idn \ - --disable-guile \ + --enable-guile --with-guile-site-dir=no \ --with-default-trust-store-pkcs11="pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit" sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make -- 2.21.0