www-servers/ocsigenserver: add postgres useflag, bug #601100
authorAlexis Ballier <aballier@gentoo.org>
Mon, 28 Nov 2016 20:33:46 +0000 (21:33 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 28 Nov 2016 20:33:46 +0000 (21:33 +0100)
Package-Manager: portage-2.3.2

www-servers/ocsigenserver/ocsigenserver-2.8.ebuild
www-servers/ocsigenserver/ocsigenserver-9999.ebuild

index 1d0abdc3876519ae7be6473d2126ebe6ab2585e0..dc1f837514141be8e3e911eaf438c17855a44e60 100644 (file)
@@ -21,8 +21,8 @@ HOMEPAGE="http://www.ocsigen.org"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib"
-REQUIRED_USE="|| ( sqlite dbm )"
+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]
@@ -34,6 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
                >=dev-ml/tyxml-4:=[camlp4(+)]
                >=dev-lang/ocaml-3.12:=[ocamlopt?]
                dev-ml/ocaml-ipaddr:=
+               postgres? ( dev-ml/pgocaml:= )
                dbm? ( dev-ml/camldbm:= )
                sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
@@ -55,6 +56,7 @@ src_configure() {
                $(use_with zlib camlzip) \
                $(use_with sqlite) \
                $(use_with dbm) \
+               $(use_with postgres pgsql) \
                --with-preempt \
                --ocsigen-group ocsigenserver \
                --ocsigen-user ocsigenserver  \
index 1d0abdc3876519ae7be6473d2126ebe6ab2585e0..dc1f837514141be8e3e911eaf438c17855a44e60 100644 (file)
@@ -21,8 +21,8 @@ HOMEPAGE="http://www.ocsigen.org"
 
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
-IUSE="debug doc dbm +ocamlopt +sqlite zlib"
-REQUIRED_USE="|| ( sqlite dbm )"
+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]
@@ -34,6 +34,7 @@ DEPEND=">=dev-ml/lwt-2.5.0:=[react,ssl]
                >=dev-ml/tyxml-4:=[camlp4(+)]
                >=dev-lang/ocaml-3.12:=[ocamlopt?]
                dev-ml/ocaml-ipaddr:=
+               postgres? ( dev-ml/pgocaml:= )
                dbm? ( dev-ml/camldbm:= )
                sqlite? ( dev-ml/ocaml-sqlite3:= )"
 RDEPEND="${DEPEND}"
@@ -55,6 +56,7 @@ src_configure() {
                $(use_with zlib camlzip) \
                $(use_with sqlite) \
                $(use_with dbm) \
+               $(use_with postgres pgsql) \
                --with-preempt \
                --ocsigen-group ocsigenserver \
                --ocsigen-user ocsigenserver  \