Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=39b0a333828917af1a6f09132fadeccf1ab2613a
commit 39b0a333828917af1a6f09132fadeccf1ab2613a Author: DeX77 <de...@frugalware.org> Date: Mon Aug 7 15:21:49 2017 +0200 ocaml-4.04.2-1-x86_64 * version bump diff --git a/source/devel-extra/ocaml/FrugalBuild b/source/devel-extra/ocaml/FrugalBuild index 7137604..e7480f8 100644 --- a/source/devel-extra/ocaml/FrugalBuild +++ b/source/devel-extra/ocaml/FrugalBuild @@ -3,8 +3,8 @@ # Contributor: Seb95 <seb95.s...@gmail.com> pkgname=ocaml -pkgver=4.03.0 -pkgrel=3 +pkgver=4.04.2 +pkgrel=1 pkgdesc="Caml is a general-purpose programming language, designed with program safety and reliability in mind." url="http://caml.inria.fr/" depends=('libxml2>=2.9.4-2' 'gdbm>=1.11-2' 'binutils>=2.28-3' 'ncurses>=6.0-16') @@ -13,26 +13,29 @@ groups=('devel-extra') archs=('x86_64') up2date="lynx -dump http://caml.inria.fr/download.en.html|grep 'most recent version of OCaml' |sed -n 's/.*s \(.*\)\. .*/\1/;1 p'" source=(http://caml.inria.fr/pub/distrib/$pkgname-`echo $pkgver | sed 's/\(.*\)\..*/\1/'`/$pkgname-$pkgver.tar.gz) -sha1sums=('28773fd89507dbc400a366b886425436569e70d8') +sha1sums=('24281675ea90c9234e323d556f1d4cd7bdab8ec1') +_F_conf_notry="man\|host\|prefix" +Fconfopts=" -prefix /usr \ + -bindir /usr/bin \ + -libdir /usr/lib/ocaml \ + -mandir /usr/share/man \ + --with-pthread" build() { Fcd unset MAKEFLAGS - ./configure -prefix /usr \ - -bindir /usr/bin \ - -libdir /usr/lib/ocaml \ - -mandir /usr/share/man \ - --with-pthread || Fdie + + Fconf Fsed "\(BYTECCCOMPOPTS=.*\)" "\1 ${CFLAGS}" config/Makefile Fsed "\(NATIVECCCOMPOPTS=.*\)" "\1 ${CFLAGS}" config/Makefile - make world || Fdie - make opt || Fdie - make opt.opt || Fdie + Fexec make world || Fdie + Fexec make opt || Fdie + Fexec make opt.opt || Fdie - make BINDIR=$Fdestdir/usr/bin LIBDIR=$Fdestdir/usr/lib/ocaml \ + Fexec make BINDIR=$Fdestdir/usr/bin LIBDIR=$Fdestdir/usr/lib/ocaml \ MANDIR=$Fdestdir/usr/share/man install || Fdie - Fsed "{$Fdestdir}" "" $Fdestdir/usr/lib/ocaml/ld.conf + Fsed "{$Fdestdir}" "" $Fdestdir/usr/lib/ocaml/ld.conf } # optimization OK _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git