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,30 +1,29 @@ PORTNAME= octave-forge-control DISTVERSIONPREFIX= control- -DISTVERSION= 4.0.0 -PORTREVISION= 2 +DISTVERSION= 4.0.1 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} WWW= https://packages.octave.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKDIR}/${OCTAVE_SRC}/COPYING USES= octave autoreconf USE_GITHUB= yes GH_ACCOUNT= gnu-octave SLICOT:slicot GH_PROJECT= pkg-control SLICOT-Reference:slicot GH_TAGNAME= 401037e:slicot 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 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.