diff --git a/math/octave-forge-optim/Makefile b/math/octave-forge-optim/Makefile index 4a269411d58c..ea857aa5160c 100644 --- a/math/octave-forge-optim/Makefile +++ b/math/octave-forge-optim/Makefile @@ -1,36 +1,35 @@ # Created by: Stephen Montgomery-Smith PORTNAME= octave-forge-optim -PORTVERSION= 1.6.1 -PORTREVISION= 4 +PORTVERSION= 1.6.2 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} LICENSE= Parts LICENSE_NAME= See individual files for licenses LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # OCTSRC is the name of the directory of the package. # It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}. OCTSRC= ${DISTNAME} WRKSRC= ${WRKDIR}/${OCTSRC}/src RUN_DEPENDS+= ${TARBALLS_DIR}/statistics.tar.gz:math/octave-forge-statistics RUN_DEPENDS+= ${TARBALLS_DIR}/struct.tar.gz:math/octave-forge-struct GNU_CONFIGURE= yes .include "${.CURDIR}/../../Mk/bsd.octave.mk" USES+= shebangfix SHEBANG_FILES= *.pl post-build: ${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC} .include diff --git a/math/octave-forge-optim/distinfo b/math/octave-forge-optim/distinfo index 4320f96a6fa2..2294e350add6 100644 --- a/math/octave-forge-optim/distinfo +++ b/math/octave-forge-optim/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1613612633 -SHA256 (octave-forge/optim-1.6.1.tar.gz) = 7150cdfac7e9da31ec7ac1cfe8619d9c0e9c8b3f787f54bf89e0fb1c275be584 -SIZE (octave-forge/optim-1.6.1.tar.gz) = 424554 +TIMESTAMP = 1650040757 +SHA256 (octave-forge/optim-1.6.2.tar.gz) = 554a8e18bb7195ae861f5059c14f1a557844265c1addb5bfbf3ab9885524787e +SIZE (octave-forge/optim-1.6.2.tar.gz) = 420480 diff --git a/math/octave-forge-optim/files/patch-lsqlin.m b/math/octave-forge-optim/files/patch-lsqlin.m deleted file mode 100644 index 55e191b75906..000000000000 --- a/math/octave-forge-optim/files/patch-lsqlin.m +++ /dev/null @@ -1,11 +0,0 @@ ---- ../inst/lsqlin.m.orig 2022-04-08 22:29:29.290901000 -0500 -+++ ../inst/lsqlin.m 2022-04-08 22:29:41.495111000 -0500 -@@ -115,7 +115,7 @@ - - if (n_out > 2) - ## We don't need to know if original n_out was 3 or 2. -- n_out --; -+ n_out--; - endif - - quadprog_out = cell (1, max (n_out, 1)); diff --git a/math/octave-forge-optim/files/patch-vfzero.m b/math/octave-forge-optim/files/patch-vfzero.m deleted file mode 100644 index c08712576fc1..000000000000 --- a/math/octave-forge-optim/files/patch-vfzero.m +++ /dev/null @@ -1,11 +0,0 @@ ---- ../inst/vfzero.m.orig 2022-04-08 22:30:39.255870000 -0500 -+++ ../inst/vfzero.m 2022-04-08 22:30:55.406374000 -0500 -@@ -282,7 +282,7 @@ - # fun() might expect full-length - # argument - fval(idx, 1) = fc(idx, 1) = fun (c)(:)(idx, 1); -- niter ++; nfev ++; -+ niter++; nfev++; - endif - - ## Modification 2: skip inverse cubic interpolation if