From 011f5c015090d85145063193922a7ea5ad16f887 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 5 Nov 2024 12:07:18 -0500 Subject: [PATCH] fix(gnutls) closes #7809 --- projects/gnutls.org/package.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/projects/gnutls.org/package.yml b/projects/gnutls.org/package.yml index 261520982e..1ece222388 100644 --- a/projects/gnutls.org/package.yml +++ b/projects/gnutls.org/package.yml @@ -20,7 +20,6 @@ build: dependencies: linux: gnu.org/gcc: '*' - freedesktop.org/pkg-config: '*' script: # clang doesn't like the -march=all flag - run: sed -i -e 's/-march=all/-mcpu=generic/' Makefile.am Makefile.in @@ -32,11 +31,14 @@ build: - ./configure --prefix={{ prefix }} --disable-guile - make --jobs {{ hw.concurrency }} install + - run: find . -name \*.la -exec rm {} \; + working-directory: ${{prefix}}/lib env: darwin: - CFLAGS: $CFLAGS -Wno-implicit-int + # darwin support has some build issues. + CFLAGS: $CFLAGS -Wno-implicit-int -Wno-analyzer-fd-leak -test: gnutls-cli --x509cafile={{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem tea.xyz <<< "GET /" +test: gnutls-cli --x509cafile={{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem pkgx.sh <<< "GET /" provides: - bin/certtool