summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-12 20:31:03 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-12 21:20:25 +0200
commitaeb712378d4f73e227efa374b1a175e318f4a0f2 (patch)
treeb46cc56035fb0ad994fc31c04e02419a6214d60c /www-servers/ocsigenserver/ocsigenserver-9999.ebuild
parentdev-ml/ocaml-dns: Fix build with lwt3 (diff)
downloadgentoo-aeb712378d4f73e227efa374b1a175e318f4a0f2.tar.gz
gentoo-aeb712378d4f73e227efa374b1a175e318f4a0f2.tar.bz2
gentoo-aeb712378d4f73e227efa374b1a175e318f4a0f2.zip
www-servers/ocsigenserver: Fix build with lwt3.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-servers/ocsigenserver/ocsigenserver-9999.ebuild')
-rw-r--r--www-servers/ocsigenserver/ocsigenserver-9999.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
index 042de9752466..6f80dda9a2fd 100644
--- a/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
+++ b/www-servers/ocsigenserver/ocsigenserver-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -24,7 +24,9 @@ IUSE="debug doc dbm +ocamlopt +sqlite zlib postgres"
REQUIRED_USE="|| ( sqlite dbm postgres )"
RESTRICT="strip installsources"
-DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl,camlp4(+)]
+DEPEND=">=dev-ml/lwt-2.5.0:=[camlp4(+)]
+ dev-ml/lwt_react:=
+ dev-ml/lwt_ssl:=
>=dev-ml/react-0.9.3:=
zlib? ( >=dev-ml/camlzip-1.03-r1:= )
dev-ml/cryptokit:=
@@ -43,6 +45,10 @@ pkg_setup() {
enewuser ocsigenserver -1 -1 /var/www ocsigenserver
}
+src_prepare() {
+ epatch "${FILESDIR}/lwt3.patch"
+}
+
src_configure() {
sh configure \
--prefix /usr \