aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-03-09 00:52:07 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-03-10 02:17:25 +0100
commit739ef0b03a5c8f4a26e00c927e29ee245304b209 (patch)
tree70d695386ee50b7d68027bd825ad481bf8b91657
parent9de2798b4552d9fd1596c832321bb25496d85511 (diff)
community/ocaml: build with --no-curses
https://src.fedoraproject.org/rpms/ocaml/blob/master/f/ocaml.spec: > * Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 4.01.0-3 > - Disable -lcurses. This is not actually used, just linked with unnecessarily.
-rw-r--r--community/ocaml/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/ocaml/APKBUILD b/community/ocaml/APKBUILD
index e17f8b7e746..294591c7e27 100644
--- a/community/ocaml/APKBUILD
+++ b/community/ocaml/APKBUILD
@@ -8,7 +8,6 @@ url="http://ocaml.org/"
arch="all !x86 !armhf !s390x"
license="LGPL-2.1-or-later-WITH-linking-exception"
makedepends="ncurses-dev zlib-dev gdbm-dev gcc libc-dev"
-depends="ncurses-dev"
options="textrels"
subpackages="$pkgname-doc"
source="http://caml.inria.fr/pub/distrib/ocaml-${pkgver%.*}/$pkgname-$pkgver.tar.gz
@@ -26,7 +25,8 @@ build() {
./configure -cc "${CC:-gcc}" \
--bindir /usr/bin \
--libdir /usr/lib/ocaml \
- --mandir /usr/share/man
+ --mandir /usr/share/man \
+ --no-curses
make -j1 world.opt
}