Skip to content

Commit

Permalink
math/ocaml-zarith: update ZArith to version 1.13
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Sep 18, 2023
1 parent c321b24 commit 0b790fc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
3 changes: 1 addition & 2 deletions math/ocaml-zarith/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
PORTNAME= ${GH_PROJECT:tl}
PORTVERSION= 1.12
PORTVERSION= 1.13
DISTVERSIONPREFIX= release-
PORTREVISION= 1
CATEGORIES= math
PKGNAMEPREFIX= ocaml-

Expand Down
6 changes: 3 additions & 3 deletions math/ocaml-zarith/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1614762000
SHA256 (ocaml-Zarith-release-1.12_GH0.tar.gz) = cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881
SIZE (ocaml-Zarith-release-1.12_GH0.tar.gz) = 93695
TIMESTAMP = 1689789526
SHA256 (ocaml-Zarith-release-1.13_GH0.tar.gz) = a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b
SIZE (ocaml-Zarith-release-1.13_GH0.tar.gz) = 85994
10 changes: 5 additions & 5 deletions math/ocaml-zarith/files/patch-configure
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
--- configure.orig 2021-03-03 09:00:00 UTC
--- configure.orig 2023-07-19 17:58:46 UTC
+++ configure
@@ -268,7 +268,7 @@ searchbin ocamlfind
if test $? -eq 1 -a $ocamlfind != "no"; then
@@ -258,7 +258,7 @@ searchbin ocamlfind
if test $? -eq 1 && test $ocamlfind != "no"; then
instmeth='findlib'
if test "$installdir" = "auto"
- then installdir=`ocamlfind printconf destdir`; fi
+ then installdir=`ocamlfind printconf destdir | sed 's/:.*//'`; fi
else
searchbin install
if test $? -eq 1; then instmeth='install'
@@ -365,7 +365,7 @@ OCAMLOPTFLAGS=$mloptflags
OCAMLINC=$mlinc
@@ -354,7 +354,7 @@ OCAMLINC=$mlinc
CFLAGS=$ccinc $ccdef $ccopt
LIBS=$cclib
LDFLAGS=$ldflags
-INSTALLDIR=$installdir
+INSTALLDIR=${DESTDIR}$installdir
INSTALL=install
Expand Down
1 change: 1 addition & 0 deletions math/ocaml-zarith/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
%%OCAML_SITELIBDIR%%/zarith/zarith.cmxs
%%OCAML_SITELIBDIR%%/zarith/zarith.h
%%OCAML_SITELIBDIR%%/zarith/zarith_top.cma
%%OCAML_SITELIBDIR%%/zarith/zarith_version.cmx

0 comments on commit 0b790fc

Please sign in to comment.