2019-03-30 03:18:12 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.142 2019/03/30 03:18:12 naddy Exp $
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2007-09-15 22:36:51 +00:00
|
|
|
COMMENT= get files from FTP, Gopher, HTTP or HTTPS servers
|
2001-03-30 18:40:59 +00:00
|
|
|
|
2019-03-30 03:18:12 +00:00
|
|
|
DISTNAME= curl-7.64.1
|
|
|
|
SHARED_LIBS= curl 25.21 # 9.0
|
1999-03-27 07:18:57 +00:00
|
|
|
CATEGORIES= net
|
2016-02-27 21:55:51 +00:00
|
|
|
HOMEPAGE= https://curl.haxx.se/
|
2000-03-14 22:38:19 +00:00
|
|
|
|
2005-05-26 23:13:28 +00:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2002-11-24 03:40:08 +00:00
|
|
|
# MIT
|
2000-03-14 22:38:19 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2018-01-27 00:10:59 +00:00
|
|
|
MASTER_SITES= https://curl.haxx.se/download/
|
2017-08-10 19:46:26 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2014-09-11 18:00:45 +00:00
|
|
|
|
2016-11-04 11:33:33 +00:00
|
|
|
LIB_DEPENDS= www/nghttp2
|
2017-08-31 19:34:16 +00:00
|
|
|
WANTLIB= c crypto pthread nghttp2 ssl z
|
2005-10-16 15:31:39 +00:00
|
|
|
|
2019-02-11 20:34:39 +00:00
|
|
|
AUTOCONF_VERSION=2.69
|
|
|
|
CONFIGURE_STYLE=autoconf
|
2017-12-01 21:02:23 +00:00
|
|
|
# Beware of circular dependency curl -> brotli -> cmake -> curl
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --with-ca-bundle=/etc/ssl/cert.pem \
|
2017-12-01 21:02:23 +00:00
|
|
|
--without-brotli \
|
2017-02-24 21:08:28 +00:00
|
|
|
--without-libidn2 \
|
2016-01-29 23:52:24 +00:00
|
|
|
--without-libpsl \
|
2018-01-27 00:10:59 +00:00
|
|
|
--without-libssh \
|
2007-05-13 17:08:25 +00:00
|
|
|
--without-libssh2
|
2014-11-30 16:44:04 +00:00
|
|
|
CONFIGURE_ENV= ac_cv_path_NROFF="/usr/bin/mandoc -Tascii"
|
1999-03-27 07:18:57 +00:00
|
|
|
|
2011-12-10 17:28:13 +00:00
|
|
|
# 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" \
|
2018-11-07 20:34:31 +00:00
|
|
|
curl_cv_func_send_args="int,const void *,size_t,int,ssize_t"
|
2011-12-10 17:28:13 +00:00
|
|
|
|
2010-09-19 16:30:26 +00:00
|
|
|
# Note:
|
2013-03-11 11:35:43 +00:00
|
|
|
# use ulimit -p 256 for test
|
2010-09-19 16:30:26 +00:00
|
|
|
|
2019-02-06 18:14:05 +00:00
|
|
|
# runsshserver: sshserver.pl --user=$USER
|
|
|
|
TEST_ENV= USER=$$USER
|
|
|
|
|
1999-03-27 07:18:57 +00:00
|
|
|
.include <bsd.port.mk>
|