Skip to content

Commit

Permalink
fix(gnutls)
Browse files Browse the repository at this point in the history
 closes #7809
  • Loading branch information
jhheider committed Jan 10, 2025
1 parent 5ef492d commit adc92ae
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions projects/gnutls.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,13 +29,16 @@ build:
#FIXME: use similar logic to the one in openssl.org/x509_def.c to
# locate {{deps.curl.se/ca-certs.prefix}}/ssl/cert.pem

- ./configure --prefix={{ prefix }} --disable-guile
# - ./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
Expand Down

0 comments on commit adc92ae

Please sign in to comment.