1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

math/octave-forge-control: Tidy up build.

This commit is contained in:
Stephen Montgomery-Smith 2024-01-14 21:43:22 -06:00
parent 6fbf339817
commit a052b3a8aa
2 changed files with 3 additions and 10 deletions

View File

@ -21,6 +21,9 @@ OCTAVE_SRC= ${GH_PROJECT}-control-${DISTVERSION}
GNU_CONFIGURE= yes
post-patch:
${MV} ${WRKSRC}/TG04BX.f ${WRKSRC_slicot}/src
pre-configure:
${REINPLACE_CMD} -e '/SC_SRC.*\:\=/s+slicot+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile

View File

@ -1,10 +0,0 @@
--- 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