diff --git a/math/octave-forge-control/Makefile b/math/octave-forge-control/Makefile index 81e959604065..6511331aa477 100644 --- a/math/octave-forge-control/Makefile +++ b/math/octave-forge-control/Makefile @@ -1,26 +1,27 @@ PORTNAME= octave-forge-control DISTVERSIONPREFIX= control- DISTVERSION= 4.0.0 +PORTREVISION= 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 pre-configure: ${REINPLACE_CMD} -e '/SC_SRC.*\:\=/s+slicot+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile .include diff --git a/math/octave-forge-control/files/patch-Makefile b/math/octave-forge-control/files/patch-Makefile new file mode 100644 index 000000000000..2320098580c2 --- /dev/null +++ b/math/octave-forge-control/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2024-01-11 01:31:30 UTC ++++ Makefile +@@ -30,6 +30,7 @@ all: __control_slicot_functions__.oct \ + # uppressing warnings on indexing errors + # + slicotlibrary.a: slicot ++ cp TG04BX.f $(SC_SRC) + cd $(SC_SRC) && $(MKOCTFILE) -w -c MA02ID.f; mv MA02ID.f x && $(MKOCTFILE) -c *.f && mv x MA02ID.f + $(AR) -rc slicotlibrary.a $(SC_SRC)/*.o +