Commit 4c6cb02f authored by J0WI's avatar J0WI Committed by Leo
Browse files

community/cloudi: fix build with Cabal 3

parent 6ea78414
......@@ -29,52 +29,52 @@
pkgname=cloudi
pkgver=1.8.0
pkgrel=2
pkgrel=3
pkgdesc="Cloud computing framework for efficient, scalable, and stable soft-realtime event processing."
url="https://cloudi.org/"
license="MIT"
arch="all !mips !mips64"
depends="erlang
g++"
g++"
makedepends="autoconf
automake
binutils-dev
boost-dev
boost-system
boost-thread
erlang-asn1
erlang-common-test
erlang-crypto
erlang-dev
erlang-erl-interface
erlang-eunit
erlang-inets
erlang-jinterface
erlang-public-key
erlang-reltool
erlang-sasl
erlang-snmp
erlang-ssh
erlang-ssl
erlang-syntax-tools
erlang-tools
erlang-xmerl
gmp-dev
go
libexecinfo-dev
libtool
nodejs
openjdk8
perl
php7
python3
python3-dev
ruby
"
automake
binutils-dev
boost-dev
boost-system
boost-thread
erlang-asn1
erlang-common-test
erlang-crypto
erlang-dev
erlang-erl-interface
erlang-eunit
erlang-inets
erlang-jinterface
erlang-public-key
erlang-reltool
erlang-sasl
erlang-snmp
erlang-ssh
erlang-ssl
erlang-syntax-tools
erlang-tools
erlang-xmerl
gmp-dev
go
libexecinfo-dev
libtool
nodejs
openjdk8
perl
php7
python3-dev
ruby
"
subpackages="$pkgname-static $pkgname-openrc"
source="https://osdn.net/dl/cloudi/cloudi-$pkgver.tar.gz
0005-Disable-tests-for-aports-buildservers.patch
fix-new-binutils.patch
cabal3.patch
$pkgname.initd"
# configure additional dependencies based on the package architecture
......@@ -93,14 +93,12 @@ x86)
;;
esac
# Enable Haskell on the appropriate architectures
# Disable for now because haskell support calls upon 'cabal sandbox' which is a
# command that is not recognized by cabal
case "$CTARGET_ARCH" in
x86_64)
# makedepends="$makedepends ghc cabal zlib-dev"
# _configure_args="$_configure_args --enable-haskell-support"
makedepends="$makedepends ghc cabal zlib-dev"
_configure_args="$_configure_args --enable-haskell-support"
# 1 test out of 7 fail due to 'timetrap_timeout'
options="$options !check"
#options="$options !check"
;;
esac
......@@ -143,4 +141,5 @@ package() {
sha512sums="53a99729fa37673cfcc7fb7e76e285ff7bd978a080a65d46259b53c6dd0854214ee91b0e93f090d6958045f7e1eb0b739fcfc13c86070780f518f48bd9732fc8 cloudi-1.8.0.tar.gz
8b3c67ce0899b64b9f48da749864b95e3d9747383c1daabdad7e6230ebb815329ccbdc7f69a956590ddda0a32ff74d073f98bdc0b15d5dc4728dd11640835a6c 0005-Disable-tests-for-aports-buildservers.patch
4808b481b5e96db7534fd856ea17754cf3efaa4d07dec3bcba1e760e979307010262c5aed40a9b12f1bbddbf37201be6d8b6af4715639c76fc515e8bac562189 fix-new-binutils.patch
c6d9398959b2be6073c1c9f121cdcca34844b87e75583cc757317e8ed689e79929ebb1035cbd0f995de54c7557abf69b71651a8d81fdbc9c644c56f085ced6b9 cabal3.patch
053f860f656617012208a0e1909e43b2f8979d381a90d3fa5a745a9cf5021fe54556a641fef2badaa9955f2394d00e32183389cb9b501169dcbf8cbe4fbb0329 cloudi.initd"
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -419,7 +419,7 @@
AM_CONDITIONAL([GO_SUPPORT], [test "x$go_support" = "xtrue"])
# Haskell CloudI API support
-cabal_install_v2="false"
+cabal_install_v2="true"
if test "x$haskell_support" = "xtrue" ; then
AC_ARG_VAR([GHC],[Glasgow Haskell Compiler executable])
AC_PATH_PROGS([GHC],[ghc])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment