Skip to content

Commit

Permalink
math/octave-forge-control: Update to 4.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Montgomery-Smith authored and Stephen Montgomery-Smith committed Mar 24, 2024
1 parent 20adf0d commit bb53d7d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
11 changes: 5 additions & 6 deletions 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
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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
13 changes: 13 additions & 0 deletions 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.

0 comments on commit bb53d7d

Please sign in to comment.