Skip to content
Snippets Groups Projects
Commit 7a2cb372 authored by omni's avatar omni
Browse files

community/ocaml: rebuild against binutils 2.35.2

fixes #12629

also some linting
parent af6c01c6
No related branches found
No related tags found
1 merge request!21183community/ocaml: rebuild against binutils 2.35.2
......@@ -3,7 +3,7 @@
# Maintainer:
pkgname=ocaml
pkgver=4.08.1
pkgrel=5
pkgrel=6
pkgdesc="Main implementation of the Caml programming language"
url="http://ocaml.org/"
arch="all !x86 !armhf !armv7 !mips !mips64"
......@@ -18,17 +18,15 @@ subpackages="
$pkgname-compiler-libs:_compiler_libs
$pkgname-runtime
"
source="http://caml.inria.fr/pub/distrib/ocaml-${pkgver%.*}/$pkgname-$pkgver.tar.gz
source="http://caml.inria.fr/pub/distrib/ocaml-${pkgver%.*}/ocaml-$pkgver.tar.gz
compile-without-debug-info.patch
fix-mcontext-fields.patch
fix-segfault-in-ppc64le.patch
fix-check-parser-uptodate-or-warn.sh.patch
fix-fnocommon-duplicate-definition.patch
"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--prefix /usr \
--bindir /usr/bin \
......@@ -41,15 +39,11 @@ build() {
}
check() {
cd "$builddir"
# FIXME: there seem to be some spurious failures, ignore until fixed.
make -C testsuite all || true
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment