aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2024-03-24 15:12:41 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2024-03-24 15:12:41 +0000
commitbb53d7d8479d8040c70e708ed5bd13b34a89c63c (patch)
tree67f05a954ab94c19f5ff07a5d49f86924e446ecc
parent20adf0d2b06c8c4a85ed637159044b7a7620119a (diff)
downloadports-bb53d7d8479d8040c70e708ed5bd13b34a89c63c.tar.gz
ports-bb53d7d8479d8040c70e708ed5bd13b34a89c63c.zip
math/octave-forge-control: Update to 4.0.1.
-rw-r--r--math/octave-forge-control/Makefile11
-rw-r--r--math/octave-forge-control/distinfo6
-rw-r--r--math/octave-forge-control/files/patch-Makefile13
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.