2085dc6286
dependency, naddy@ agrees. The nghttp2 port is careful to avoid additional dependencies that are known not to build on some arch.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.112 2015/10/30 00:26:46 sthen Exp $
|
|
|
|
COMMENT= get files from FTP, Gopher, HTTP or HTTPS servers
|
|
|
|
DISTNAME= curl-7.45.0
|
|
REVISION= 0
|
|
SHARED_LIBS= curl 25.1 # 8.0
|
|
CATEGORIES= net
|
|
HOMEPAGE= http://curl.haxx.se/
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= http://curl.haxx.se/download/ \
|
|
http://dl.uxnr.de/mirror/curl/ \
|
|
http://www.execve.net/curl/ \
|
|
http://curl.askapache.com/download/
|
|
EXTRACT_SUFX= .tar.lzma
|
|
|
|
MODULES= devel/gettext
|
|
LIB_DEPENDS= devel/libidn \
|
|
www/nghttp2
|
|
WANTLIB= c crypto idn nghttp2 ssl z
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--with-ca-bundle=/etc/ssl/cert.pem \
|
|
--with-libidn=${LOCALBASE} \
|
|
--without-libssh2
|
|
CONFIGURE_ENV= ac_cv_path_NROFF="/usr/bin/mandoc -Tascii"
|
|
|
|
# speed up some time-consuming configure tests
|
|
CONFIGURE_ENV+=curl_cv_func_select_args="int,fd_set *,struct timeval *,int"
|
|
CONFIGURE_ENV+=curl_cv_func_recv_args="int,void *,size_t,int,ssize_t"
|
|
CONFIGURE_ENV+=curl_cv_func_send_args="int,const void *,size_t,int,ssize_t"
|
|
CONFIGURE_ENV+=curl_cv_func_getnameinfo_args="const struct sockaddr *,socklen_t,size_t,int"
|
|
|
|
# Note:
|
|
# use ulimit -p 256 for test
|
|
|
|
.include <bsd.port.mk>
|