mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
math/octave-forge-control: Tidy up build.
This commit is contained in:
parent
6fbf339817
commit
a052b3a8aa
2 changed files with 3 additions and 10 deletions
|
@ -21,6 +21,9 @@ OCTAVE_SRC= ${GH_PROJECT}-control-${DISTVERSION}
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${MV} ${WRKSRC}/TG04BX.f ${WRKSRC_slicot}/src
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
${REINPLACE_CMD} -e '/SC_SRC.*\:\=/s+slicot+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile
|
${REINPLACE_CMD} -e '/SC_SRC.*\:\=/s+slicot+${WRKSRC_slicot}'+ ${WRKSRC}/Makefile
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue