Date: Wed, 24 Jun 2015 08:11:00 +0000 (UTC) From: Johan van Selst <johans@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390472 - head/ftp/ocaml-ocurl Message-ID: <201506240811.t5O8B0XR093065@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: johans Date: Wed Jun 24 08:11:00 2015 New Revision: 390472 URL: https://svnweb.freebsd.org/changeset/ports/390472 Log: - Update to ocurl 0.7.3 - Add support for threading using LWT (and enable by default) Modified: head/ftp/ocaml-ocurl/Makefile head/ftp/ocaml-ocurl/distinfo head/ftp/ocaml-ocurl/pkg-plist Modified: head/ftp/ocaml-ocurl/Makefile ============================================================================== --- head/ftp/ocaml-ocurl/Makefile Wed Jun 24 07:48:21 2015 (r390471) +++ head/ftp/ocaml-ocurl/Makefile Wed Jun 24 08:11:00 2015 (r390472) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= ocurl -PORTVERSION= 0.7.2 -PORTREVISION= 1 +PORTVERSION= 0.7.3 CATEGORIES= ftp -MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1463/ \ +MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/1521/ \ http://ygrek.org.ua/p/release/ocurl/ PKGNAMEPREFIX= ocaml- @@ -27,7 +26,23 @@ USE_OCAML_FINDLIB= yes USE_OCAML_LDCONFIG= yes OCAML_PKGDIRS= curl +OPTIONS_DEFINE= LWT +OPTIONS_DEFAULT=LWT +OPTIONS_SUB= yes +LWT_DESC= Include threading support (ocaml-lwt) +LWT_RUN_DEPENDS=${LOCALBASE}/${OCAML_SITELIBDIR}/lwt/lwt.a:${PORTSDIR}/devel/ocaml-lwt +LWT_BUILD_DEPENDS=${LWT_RUN_DEPENDS} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/curl/dllcurl-helper.so +.include <bsd.port.options.mk> + +.if ! ${PORT_OPTIONS:MLWT} +# Override auto-detection +post-configure: + ${REINPLACE_CMD} 's/(lwt,no)/(no,no)/' ${WRKSRC}/Makefile \ + ${WRKSRC}/examples/Makefile +.endif + .include <bsd.port.mk> Modified: head/ftp/ocaml-ocurl/distinfo ============================================================================== --- head/ftp/ocaml-ocurl/distinfo Wed Jun 24 07:48:21 2015 (r390471) +++ head/ftp/ocaml-ocurl/distinfo Wed Jun 24 08:11:00 2015 (r390472) @@ -1,2 +1,2 @@ -SHA256 (ocurl-0.7.2.tar.gz) = 39635fbd1fcef20f9fd31e4f590061efc19813be4d99033bb6486d5ede70c77a -SIZE (ocurl-0.7.2.tar.gz) = 108530 +SHA256 (ocurl-0.7.3.tar.gz) = 7228acf91a0c521eb4db5c65638e525d8cb111206a88e9d754f1536fb4489523 +SIZE (ocurl-0.7.3.tar.gz) = 104619 Modified: head/ftp/ocaml-ocurl/pkg-plist ============================================================================== --- head/ftp/ocaml-ocurl/pkg-plist Wed Jun 24 07:48:21 2015 (r390471) +++ head/ftp/ocaml-ocurl/pkg-plist Wed Jun 24 08:11:00 2015 (r390472) @@ -4,5 +4,10 @@ %%OCAML_SITELIBDIR%%/curl/curl.cmi %%OCAML_SITELIBDIR%%/curl/curl.cmxa %%OCAML_SITELIBDIR%%/curl/curl.mli +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmi +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmo +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.cmx +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.mli +%%LWT%%%%OCAML_SITELIBDIR%%/curl/curl_lwt.o %%OCAML_SITELIBDIR%%/curl/dllcurl-helper.so %%OCAML_SITELIBDIR%%/curl/libcurl-helper.a
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506240811.t5O8B0XR093065>