git: c482608f12a0 - main - math/octave-forge-control: Clean up Makefile.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Sun, 24 Mar 2024 15:40:31 UTC
The branch main has been updated by stephen:

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

commit c482608f12a0150a89b988fe6ca833fa78871d9d
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2024-03-24 15:40:01 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2024-03-24 15:40:23 +0000

    math/octave-forge-control: Clean up Makefile.
---
 math/octave-forge-control/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/math/octave-forge-control/Makefile b/math/octave-forge-control/Makefile
index e1a74e641ba1..4f37778505b7 100644
--- a/math/octave-forge-control/Makefile
+++ b/math/octave-forge-control/Makefile
@@ -20,10 +20,6 @@ OCTAVE_SRC=	${GH_PROJECT}-control-${DISTVERSION}
 
 GNU_CONFIGURE=	yes
 
-#post-patch:
-	#${MV} ${WRKSRC}/TG04BX.f ${WRKSRC_slicot}/src
-
-post-patch:
-	${REINPLACE_CMD} -e '/SC_SMOD.*\:\=/s+\.\./slicot\-reference+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile
+MAKE_ARGS+=	SC_SMOD=${WRKSRC_slicot}
 
 .include <bsd.port.mk>