diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile index ab95d248427a..7e02f8db6812 100644 --- a/math/ocaml-zarith/Makefile +++ b/math/ocaml-zarith/Makefile @@ -1,41 +1,40 @@ PORTNAME= ${GH_PROJECT:tl} -PORTVERSION= 1.12 +PORTVERSION= 1.13 DISTVERSIONPREFIX= release- -PORTREVISION= 1 CATEGORIES= math PKGNAMEPREFIX= ocaml- MAINTAINER= danfe@FreeBSD.org COMMENT= OCaml arithmetic library for arbitrary precision integers WWW= https://forge.ocamlcore.org/projects/zarith LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgmp.so:math/gmp USES= gmake localbase:ldflags tar:tgz USE_GITHUB= yes GH_ACCOUNT= ocaml GH_PROJECT= Zarith USE_OCAML= yes USE_OCAML_FINDLIB= yes OCAMLFIND_LDCONF= /dev/null HAS_CONFIGURE= yes ALL_TARGET= all CONFIGURE_ENV= DESTDIR=${STAGEDIR} MAKE_JOBS_UNSAFE= yes PORTDOCS= html DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS DOCS_ALL_TARGET=doc post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR} .include diff --git a/math/ocaml-zarith/distinfo b/math/ocaml-zarith/distinfo index 3e2235e7d2c6..2df68dba1013 100644 --- a/math/ocaml-zarith/distinfo +++ b/math/ocaml-zarith/distinfo @@ -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 diff --git a/math/ocaml-zarith/files/patch-configure b/math/ocaml-zarith/files/patch-configure index 6ce8fe8ee40b..977b654adb40 100644 --- a/math/ocaml-zarith/files/patch-configure +++ b/math/ocaml-zarith/files/patch-configure @@ -1,20 +1,20 @@ ---- 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 OCAMLFIND=ocamlfind INSTMETH=$instmeth diff --git a/math/ocaml-zarith/pkg-plist b/math/ocaml-zarith/pkg-plist index 844f3cadc7a0..253d07fcf0fb 100644 --- a/math/ocaml-zarith/pkg-plist +++ b/math/ocaml-zarith/pkg-plist @@ -1,21 +1,22 @@ %%OCAML_SITELIBDIR%%/zarith/META %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmi %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmti %%OCAML_SITELIBDIR%%/zarith/big_int_Z.cmx %%OCAML_SITELIBDIR%%/zarith/big_int_Z.mli %%OCAML_SITELIBDIR%%/zarith/dllzarith.so %%OCAML_SITELIBDIR%%/zarith/libzarith.a %%OCAML_SITELIBDIR%%/zarith/q.cmi %%OCAML_SITELIBDIR%%/zarith/q.cmti %%OCAML_SITELIBDIR%%/zarith/q.cmx %%OCAML_SITELIBDIR%%/zarith/q.mli %%OCAML_SITELIBDIR%%/zarith/z.cmi %%OCAML_SITELIBDIR%%/zarith/z.cmti %%OCAML_SITELIBDIR%%/zarith/z.cmx %%OCAML_SITELIBDIR%%/zarith/z.mli %%OCAML_SITELIBDIR%%/zarith/zarith.a %%OCAML_SITELIBDIR%%/zarith/zarith.cma %%OCAML_SITELIBDIR%%/zarith/zarith.cmxa %%OCAML_SITELIBDIR%%/zarith/zarith.cmxs %%OCAML_SITELIBDIR%%/zarith/zarith.h %%OCAML_SITELIBDIR%%/zarith/zarith_top.cma +%%OCAML_SITELIBDIR%%/zarith/zarith_version.cmx