curl: use mdocml instead of groff to build manual

Break circular dependencies:
elfutils > curl > groff > ghostscript
 ^                         v
glib < p11-kit < gnutls < cups

Technically, it's not necessary to bump revision, since diffoscope
reports same contents.

Fix: 10985815eb, (groff: obtain devpdf fonts from ghostscript, 2021-05-25)
This commit is contained in:
Đoàn Trần Công Danh 2021-06-09 18:21:06 +07:00 committed by Đoàn Trần Công Danh
parent 0ab4214314
commit de9f0cccf9

View file

@ -1,20 +1,23 @@
# Template file for 'curl'
pkgname=curl
version=7.77.0
revision=1
revision=2
build_style=gnu-configure
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
$(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
$(vopt_enable ldap ldaps) $(vopt_with ssh libssh2) $(vopt_with ssl) $(vopt_with zstd)
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --without-libidn2"
hostmakedepends="groff perl pkg-config"
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --without-libidn2
ac_cv_path_NROFF=/usr/bin/mandoc"
# Use mdocml instead of groff to generate builtin manual to avoid cyclic
# dependencies.
hostmakedepends="perl pkg-config mdocml"
makedepends="nghttp2-devel zlib-devel $(vopt_if gnutls 'gnutls-devel')
$(vopt_if gssapi 'mit-krb5-devel') $(vopt_if ldap 'libldap-devel')
$(vopt_if rtmp 'librtmp-devel') $(vopt_if ssh 'libssh2-devel')
$(vopt_if ssl 'openssl-devel') $(vopt_if zstd 'libzstd-devel')"
depends="ca-certificates"
# openssh isn't in checkdepends, because test 581 locks up
checkdepends="perl python3 stunnel nghttp2 groff"
checkdepends="python3 stunnel nghttp2"
short_desc="Client that groks URLs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"