Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2024 15:13:02 GMT
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bb53d7d8479d - main - math/octave-forge-control: Update to 4.0.1.
Message-ID:  <202403241513.42OFD2UB076072@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by stephen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb53d7d8479d8040c70e708ed5bd13b34a89c63c

commit bb53d7d8479d8040c70e708ed5bd13b34a89c63c
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-03-24 15:12:41 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-03-24 15:12:41 +0000

    math/octave-forge-control: Update to 4.0.1.
---
 math/octave-forge-control/Makefile             | 11 +++++------
 math/octave-forge-control/distinfo             |  6 +++---
 math/octave-forge-control/files/patch-Makefile | 13 +++++++++++++
 3 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/math/octave-forge-control/Makefile b/math/octave-forge-control/Makefile
index adac167de5db..e1a74e641ba1 100644
--- a/math/octave-forge-control/Makefile
+++ b/math/octave-forge-control/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	octave-forge-control
 DISTVERSIONPREFIX=	control-
-DISTVERSION=	4.0.0
-PORTREVISION=	2
+DISTVERSION=	4.0.1
 CATEGORIES=	math
 
 MAINTAINER=	stephen@FreeBSD.org
@@ -21,10 +20,10 @@ OCTAVE_SRC=	${GH_PROJECT}-control-${DISTVERSION}
 
 GNU_CONFIGURE=	yes
 
-post-patch:
-	${MV} ${WRKSRC}/TG04BX.f ${WRKSRC_slicot}/src
+#post-patch:
+	#${MV} ${WRKSRC}/TG04BX.f ${WRKSRC_slicot}/src
 
-pre-configure:
-	${REINPLACE_CMD} -e '/SC_SRC.*\:\=/s+slicot+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile
+post-patch:
+	${REINPLACE_CMD} -e '/SC_SMOD.*\:\=/s+\.\./slicot\-reference+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
diff --git a/math/octave-forge-control/distinfo b/math/octave-forge-control/distinfo
index 9c1bab680fca..6918efd72233 100644
--- a/math/octave-forge-control/distinfo
+++ b/math/octave-forge-control/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1704436563
-SHA256 (octave-forge/gnu-octave-pkg-control-control-4.0.0_GH0.tar.gz) = 758931c1b0331bab28a522e21e22b928c387b698dbef61bb9d8813bab845d79c
-SIZE (octave-forge/gnu-octave-pkg-control-control-4.0.0_GH0.tar.gz) = 331350
+TIMESTAMP = 1711291904
+SHA256 (octave-forge/gnu-octave-pkg-control-control-4.0.1_GH0.tar.gz) = af9cc197a82970ad84dadf865218c06a0c2156f4c39cb10d1800296f49519d42
+SIZE (octave-forge/gnu-octave-pkg-control-control-4.0.1_GH0.tar.gz) = 335198
 SHA256 (octave-forge/SLICOT-SLICOT-Reference-401037e_GH0.tar.gz) = bbdf70fe0a069ca80567f4421ba428ff9ea99b57f96ca552467032750f48b66f
 SIZE (octave-forge/SLICOT-SLICOT-Reference-401037e_GH0.tar.gz) = 2868815
diff --git a/math/octave-forge-control/files/patch-Makefile b/math/octave-forge-control/files/patch-Makefile
new file mode 100644
index 000000000000..b2ed26f54f86
--- /dev/null
+++ b/math/octave-forge-control/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig	2024-03-24 14:59:01 UTC
++++ Makefile
+@@ -38,8 +38,8 @@ $(SC_SRC)/TG04BX.f:
+ #            src directories of the SLICOT submodule.
+ $(SC_SRC)/MA02ID.f:
+ 	mkdir -p $(SC_SRC)
+-	cp -t $(SC_SRC) $(SC_SMOD)/src/*.f
+-	cp -t $(SC_SRC) $(SC_SMOD)/src_aux/*.f
++	cp $(SC_SMOD)/src/*.f $(SC_SRC)
++	cp $(SC_SMOD)/src_aux/*.f $(SC_SRC)
+ 	./bootstrap && $(RM) -r "autom4te.cache"
+ 
+ # TODO: Private oct-files for control package.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403241513.42OFD2UB076072>