Mail archive
alpine-aports

[alpine-aports] [PATCH 2/x] community/ocaml-findlib: rebuild with ocaml-4.07.1

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Fri, 22 Feb 2019 12:53:47 +0000

Also sync the arch= list with the ocaml aport and remove the textrels option on x86_64.
---
 community/ocaml-findlib/APKBUILD | 9 +++++----
 1 file 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
_at_@ -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"
_at_@ -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
-- 
2.20.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Feb 22 2019 - 12:53:47 UTC