aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2019-02-22 12:53:47 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-03-06 07:50:56 +0000
commitc1a122e240abd3554576400736625527116859f8 (patch)
treeabb95083a76e9950797e6573b342fec4c807b9cc
parent70d33d8f08b093bc0c194da3ab6c34f63720ecbc (diff)
downloadaports-c1a122e240abd3554576400736625527116859f8.tar.gz
aports-c1a122e240abd3554576400736625527116859f8.tar.bz2
aports-c1a122e240abd3554576400736625527116859f8.tar.xz
community/ocaml-findlib: rebuild with ocaml-4.07.1
Also sync the arch= list with the ocaml aport and remove the textrels option on x86_64.
-rw-r--r--community/ocaml-findlib/APKBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/community/ocaml-findlib/APKBUILD b/community/ocaml-findlib/APKBUILD
index f35df02723..1275cb7e29 100644
--- a/community/ocaml-findlib/APKBUILD
+++ b/community/ocaml-findlib/APKBUILD
@@ -3,15 +3,15 @@
pkgname=ocaml-findlib
_pkgname=findlib
pkgver=1.8.0
-pkgrel=0
+pkgrel=1
pkgdesc="OCaml package manager"
url="http://projects.camlcity.org/projects/findlib.html"
-arch="all !x86 !armhf !armv7 !s390x" # limited by ocaml abuild
+arch="aarch64 ppc64le x86_64" # reflect ocaml aport platforms
license="MIT"
depends="ocaml ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml-compiler-libs m4 ncurses-dev"
-options="textrels"
+[ "$CARCH" = "x86_64" ] || options="textrels"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.camlcity.org/download/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -20,8 +20,9 @@ build() {
cd "$builddir"
./configure \
- -sitelib /usr/lib/ocaml \
+ -bindir /usr/bin \
-mandir /usr/share/man \
+ -sitelib /usr/lib/ocaml \
-config /etc/$_pkgname.conf \
-no-camlp4
make -j1 all opt