<commit_before>
version=7.54.1

src_url=http://curl.haxx.se/download/curl-$version.tar.bz2
src_url_sha1=f5193316e4b5ff23505cb09bc946763d35d02cd6

pkg_configure () {
    local prefix
    prefix="$(niceabspath "$install_dir")"
    local ssl_command
    ssl_command="--with-ssl"
    if [[ "$OS" = "Darwin" ]]; then
        ssl_command="--with-darwinssl --without-ssl --without-nghttp2"
    fi
    if [[ "$CROSS_COMPILING" = 1 ]]; then
        configure_flags="--host=$($CXX -dumpmachine)"
    fi
    in_dir "$build_dir" ./configure --prefix="$prefix" --without-gnutls $ssl_command --without-librtmp --disable-ldap --disable-shared ${configure_flags:-}
}
<commit_msg>Drop darwinssl as it causes crashes, openssl needs to be on the path anyways<commit_after>
version=7.54.1

src_url=http://curl.haxx.se/download/curl-$version.tar.bz2
src_url_sha1=f5193316e4b5ff23505cb09bc946763d35d02cd6

pkg_configure () {
    local prefix
    prefix="$(niceabspath "$install_dir")"
    if [[ "$CROSS_COMPILING" = 1 ]]; then
        configure_flags="--host=$($CXX -dumpmachine)"
    fi
    in_dir "$build_dir" ./configure --prefix="$prefix" --without-gnutls --with-ssl --without-nghttp2 --without-librtmp --disable-ldap --disable-shared ${configure_flags:-}
}

{'fraction_non_alphanumeric': 0.1588709677419355, 'fraction_numerical': 0.056451612903225805, 'mean_word_length': 3.8287937743190663, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1513141', 'n_tokens_mistral': 498, 'n_tokens_neox': 451, 'n_words': 77}