Skip to content

Instantly share code, notes, and snippets.

@ao-kenji
Created June 11, 2023 08:35
Show Gist options
  • Save ao-kenji/27b5d14b464e7344e84a6dcad166fc2b to your computer and use it in GitHub Desktop.
Save ao-kenji/27b5d14b464e7344e84a6dcad166fc2b to your computer and use it in GitHub Desktop.
#!/bin/sh
#
# partially taken from 7.1: ports/net/curl/Makefile
# works fine with curl-7.85.0
#
# speed up some time-consuming configure tests
export curl_cv_func_select_args="int,fd_set *,struct timeval *,int"
export curl_cv_func_recv_args="int,void *,size_t,int,ssize_t"
export curl_cv_func_send_args="int,const void *,size_t,int,ssize_t"
export ac_cv_path_NROFF="/usr/bin/mandoc -Tascii"
./configure --with-openssl \
--with-ca-bundle=/etc/ssl/cert.pem \
--without-brotli \
--without-hyper \
--without-libgsasl \
--without-libidn2 \
--without-libpsl \
--without-libssh \
--without-libssh2 \
--without-zstd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment