42 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.128 2017/08/31 19:34:16 naddy Exp $
COMMENT= get files from FTP, Gopher, HTTP or HTTPS servers
VERSION= 7.55.1
2016-01-01 22:17:05 +00:00
DISTNAME= curl-${VERSION}
SHARED_LIBS= curl 25.11 # 8.0
CATEGORIES= net
2016-02-27 21:55:51 +00:00
HOMEPAGE= https://curl.haxx.se/
2000-03-14 22:38:19 +00:00
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
2002-11-24 03:40:08 +00:00
# MIT
2000-03-14 22:38:19 +00:00
PERMIT_PACKAGE_CDROM= Yes
2016-02-27 21:55:51 +00:00
MASTER_SITES= https://curl.haxx.se/download/ \
https://execve.home.kg/curl/
EXTRACT_SUFX= .tar.xz
LIB_DEPENDS= www/nghttp2
WANTLIB= c crypto pthread nghttp2 ssl z
SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu
2016-03-11 20:28:21 +00:00
CONFIGURE_ARGS= --with-ca-bundle=/etc/ssl/cert.pem \
--without-libidn2 \
--without-libpsl \
--without-libssh2
CONFIGURE_ENV= ac_cv_path_NROFF="/usr/bin/mandoc -Tascii"
# speed up some time-consuming configure tests
2016-01-01 22:17:05 +00:00
CONFIGURE_ENV+= \
curl_cv_func_select_args="int,fd_set *,struct timeval *,int" \
curl_cv_func_recv_args="int,void *,size_t,int,ssize_t" \
curl_cv_func_send_args="int,const void *,size_t,int,ssize_t" \
curl_cv_func_getnameinfo_args="const struct sockaddr *,socklen_t,size_t,int"
# Note:
2013-03-11 11:35:43 +00:00
# use ulimit -p 256 for test
.include <bsd.port.mk>