From nobody Wed Jun 05 16:39:13 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VvY8164zvz5LBvq; Wed, 05 Jun 2024 16:39:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VvY815mThz4Ll2; Wed, 5 Jun 2024 16:39:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717605553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3aIY1VIP0Fn3h50HVXEizRLV5hVC3oZkJE3+CcTkMPM=; b=uwQY9BKrgd2TDSdEBPYRNBqJiJb01vW248+RTEWbcOICvhv3hfuH+J5HO/6LJfMT0KiT9N SzhArB6CNtisNQa4b0Sr+v00ZDfMcCYhKTd0gaTt5uxJLvE7V+UivxEAD6m7rYY9l7OGJe yzvhstZpkXBRkqq/MM1Gp02Nk0kDMAC5oZIp7k7WEtpjkaW6WpueWuqh12zZBGAmEBHnFD KwYhH786cuBc4v9Z58Ypq901JCIoJxeJ5eCUtI5MIpi8hZm8Rxgovqn4qQ/9Wf+b6Eo7b2 W2MmkhIYEoNG9RCJFFPgHc104QzS2VLPBtoWcePvicndBHyqx8ipi88BeT7mFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717605553; a=rsa-sha256; cv=none; b=mK9X3f8ulKJ1J5KbBUWIYkdm55eq0NvedeS7dasduqii/Ao9rwPPoLGmQ0oHfAl3Y5yRhd Kr1Iwuc7p6B0xzrryQ9HmVqSeLjfh5BalNFVIptCVDH2KeFt2jXURjEpm0F5gNOuzxSXPw TvthoF05FH/NdURunPfNyuhVWhwjtY8R7i0JWF8pbWAFXzPmQF3YUHqi/7xDps6CmLaZB2 R4noriunyPJj01ke5L/mrC9LeufrmaeLwGE79z1CXKtODxFotVSNM/8MO0wDCc8r6nMzFl /y2828U9x+y/kr/xZSnNSYTHr8+8lSL4JrTnkzDCFMbj6TanXOzWRAR44+kNLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717605553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3aIY1VIP0Fn3h50HVXEizRLV5hVC3oZkJE3+CcTkMPM=; b=YLBxfUOnhBGO1rt447Gkne/7x19akN2MoNeeBt9gkBr61hJCjnO1vLnXDfc+cGuW4PkeDI R7fD+hWXRywgtafg5dP937M9oGDDIADmz0PrIGBY6jPVM4P+g75f5cgILaEYBhlRX4l6NS W6g6f3olUPCZr93+rqROmBtIZRLY5FXJN24/QUaaZUWQNF01TUskecMJGp2AO96ULyGW6v SXQl1yxjutmaOAkiO/z1EHOjwe+rHbvksR4S+mWIThjWnRxeTYfIeMRcSq9OBsmpLE5s1i wB917wt0htJqKfAmmOqfbGWynZRzpaALEoVxEZafq8+YuQbzAJyh35ZvXoZzxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VvY815McQz18nW; Wed, 5 Jun 2024 16:39:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 455GdDmN056292; Wed, 5 Jun 2024 16:39:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 455GdDIE056289; Wed, 5 Jun 2024 16:39:13 GMT (envelope-from git) Date: Wed, 5 Jun 2024 16:39:13 GMT Message-Id: <202406051639.455GdDIE056289@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 98869c9e1e8d - main - math/slicot: upgrade to v5.9 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 98869c9e1e8d4b3a8b69d25e12a4508ac177396b Auto-Submitted: auto-generated The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=98869c9e1e8d4b3a8b69d25e12a4508ac177396b commit 98869c9e1e8d4b3a8b69d25e12a4508ac177396b Author: Thierry Thomas AuthorDate: 2024-06-05 15:58:58 +0000 Commit: Thierry Thomas CommitDate: 2024-06-05 16:39:09 +0000 math/slicot: upgrade to v5.9 --- math/slicot/Makefile | 38 ++++------ math/slicot/distinfo | 6 +- math/slicot/files/patch-examples_makefile | 99 ------------------------- math/slicot/files/patch-examples_makefile__Unix | 30 ++++++++ math/slicot/files/patch-make__Unix.inc | 26 +++++++ math/slicot/files/patch-src_makefile | 14 ---- math/slicot/pkg-plist | 1 + 7 files changed, 76 insertions(+), 138 deletions(-) diff --git a/math/slicot/Makefile b/math/slicot/Makefile index d36160230967..f1c1bb39f7f0 100644 --- a/math/slicot/Makefile +++ b/math/slicot/Makefile @@ -1,12 +1,11 @@ PORTNAME= SLICOT -PORTVERSION= 5.8 +PORTVERSION= 5.9 DISTVERSIONPREFIX= v -PORTREVISION= 3 CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= Fortran subroutines library for systems and control -WWW= http://slicot.org/ +WWW= https://slicot.org/ LICENSE= BSD3CLAUSE @@ -15,11 +14,13 @@ GH_PROJECT= SLICOT-Reference USES= blaslapack:openblas fortran -WRKSRC_SUBDIR= src -PATCH_WRKSRC= ${WRKDIR}/${GH_PROJECT}-${PORTVERSION} -MAKEFILE= makefile +BINARY_ALIAS= gfortran=${FC} +FFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +MAKEFILE= makefile_Unix MAKE_ENV= FORTRAN=${FC} OPTS="${FFLAGS} -fPIC" LOADER=${FC} \ - LOADOPTS="../src/libslicot.a ${FFLAGS} ${BLASLIB} ${LAPACKLIB}" + LOADOPTS="${WRKSRC}/slicot.a ${WRKSRC}/lpkaux.a ${LDFLAGS} ${BLASLIB} ${LAPACKLIB}" +MAKE_JOBS_UNSAFE=yes USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS EXAMPLES @@ -27,19 +28,12 @@ PORTDOCS= * post-build: (cd ${WRKSRC} && \ - ${AR} ${ARFLAGS} libslicot.a *.o && \ + ${CP} slicot.a libslicot.a && \ ${FC} ${LDFLAGS} -shared -Wl,-soname=libslicot.so.0 \ - -o libslicot.so.0.0 *.o ${BLASLIB} ${LAPACKLIB} && \ + -o libslicot.so.0.0 src/*.o ${BLASLIB} ${LAPACKLIB} && \ ${LN} -sf libslicot.so.0.0 libslicot.so.0 && \ ${LN} -sf libslicot.so.0.0 libslicot.so) -pre-configure-EXAMPLES-on: - ${REINPLACE_CMD} -e 's|\\src\\|/src/|;s|\.obj|.o|g;s|\-exe:|-o |;s|exe; T|exe; ./T|' \ - ${WRKSRC}/../examples/${MAKEFILE} - -post-build-EXAMPLES-on: - (cd ${WRKSRC}/../examples && ${DO_MAKE_BUILD} ${ALL_TARGET}) - do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/libslicot.a ${STAGEDIR}${PREFIX}/lib @@ -52,17 +46,17 @@ do-install: do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in README.md libindex.html - ${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor - cd ${WRKSRC}/.. && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: - ${FIND} ${WRKSRC}/../examples -name "T*" -a ! -name "*\.*" | \ + ${FIND} ${WRKSRC}/examples -name "T*" -a ! -name "*\.*" | \ ${XARGS} ${STRIP_CMD} - ${RM} ${WRKSRC}/../examples/*.o ${WRKSRC}/../examples/makefile.bak \ - ${WRKSRC}/../examples/makefile.orig + ${RM} ${WRKSRC}/examples/*.o ${WRKSRC}/../examples/makefile.bak \ + ${WRKSRC}/examples/makefile.orig ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/../examples && \ + cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/slicot/distinfo b/math/slicot/distinfo index 55722b27f68c..bbbb6bcde50d 100644 --- a/math/slicot/distinfo +++ b/math/slicot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669888985 -SHA256 (SLICOT-SLICOT-Reference-v5.8_GH0.tar.gz) = 381f90cb09ab4f0f4ed2bd6bd29b3c8897d79a20d3857da15fe6098ed1ecec20 -SIZE (SLICOT-SLICOT-Reference-v5.8_GH0.tar.gz) = 2843103 +TIMESTAMP = 1709474279 +SHA256 (SLICOT-SLICOT-Reference-v5.9_GH0.tar.gz) = af5dc4773bf76e6f137d3c1dbc4838fbb360a134b5a09afce90b9ce690363b7b +SIZE (SLICOT-SLICOT-Reference-v5.9_GH0.tar.gz) = 2939308 diff --git a/math/slicot/files/patch-examples_makefile b/math/slicot/files/patch-examples_makefile deleted file mode 100644 index c09a1807a1f6..000000000000 --- a/math/slicot/files/patch-examples_makefile +++ /dev/null @@ -1,99 +0,0 @@ ---- examples/makefile.orig 2022-05-27 14:40:35 UTC -+++ examples/makefile -@@ -70,11 +70,11 @@ all: AB01MD.exa AB01ND.exa AB01OD.exa AB04MD.exa AB05M - TG01DD.exa TG01ED.exa TG01FD.exa TG01HD.exa TG01ID.exa TG01JD.exa \ - TG01JY.exa UD01BD.exa UD01CD.exa UD01DD.exa UD01MD.exa UD01ND.exa \ - MB03TD.exa MB03XD.exa MB03XP.exa MB03ZD.exa MB04DD.exa MB04DP.exa \ -- MB4DPZ.exa MB04DL.exa MB4DLZ.exa MB04DS.exa MB04PB.exa MB04PU.exa \ -+ MB04DL.exa MB04DS.exa MB04PB.exa MB04PU.exa \ - MB04TB.exa MB04TS.exa AB08NZ.exa AG08BZ.exa TB01IZ.exa TG01AZ.exa \ - TG01FZ.exa MB03BD.exa MB03KD.exa MB03LD.exa MB04AD.exa MB04BD.exa \ -- MB03BZ.exa MB03FZ.exa MB03LF.exa MB03LZ.exa MB03XZ.exa \ -- MB04AZ.exa MB04BZ.exa MB04DZ.exa MB04ED.exa MB04FD.exa \ -+ MB03LF.exa \ -+ MB04ED.exa MB04FD.exa \ - MC01XD.exa SG02ND.exa \ - AB08NW.exa MB03QG.exa TB01PX.exa TB01UY.exa TB01WX.exa TG01GD.exa \ - TG01LD.exa TG01MD.exa TG01ND.exa TG01PD.exa TG01QD.exa -@@ -281,9 +281,7 @@ MB03XP.exa: MB03XP.dat TMB03XP.exe; TMB03XP MB03ZD.exa - MB04DD.exa: MB04DD.dat TMB04DD.exe; TMB04DD MB04DD.exa - MB04DP.exa: MB04DP.dat TMB04DP.exe; TMB04DP MB04DP.exa --MB4DPZ.exa: MB4DPZ.dat TMB4DPZ.exe; TMB4DPZ MB4DPZ.exa - MB04DL.exa: MB04DL.dat TMB04DL.exe; TMB04DL MB04DL.exa --MB4DLZ.exa: MB4DLZ.dat TMB4DLZ.exe; TMB4DLZ MB4DLZ.exa - MB04DS.exa: MB04DS.dat TMB04DS.exe; TMB04DS MB04DS.exa - MB04PB.exa: MB04PB.dat TMB04PB.exe; TMB04PB MB04PB.exa - MB04PU.exa: MB04PU.dat TMB04PU.exe; TMB04PU MB04PU.exa -@@ -299,14 +297,7 @@ MB03KD.exa: MB03KD.dat TMB03KD.exe; TMB03KD MB03LD.exa - MB04AD.exa: MB04AD.dat TMB04AD.exe; TMB04AD MB04AD.exa - MB04BD.exa: MB04BD.dat TMB04BD.exe; TMB04BD MB04BD.exa --MB03BZ.exa: MB03BZ.dat TMB03BZ.exe; TMB03BZ MB03BZ.exa --MB03FZ.exa: MB03FZ.dat TMB03FZ.exe; TMB03FZ MB03FZ.exa - MB03LF.exa: MB03LF.dat TMB03LF.exe; TMB03LF MB03LF.exa --MB03LZ.exa: MB03LZ.dat TMB03LZ.exe; TMB03LZ MB03LZ.exa --MB03XZ.exa: MB03XZ.dat TMB03XZ.exe; TMB03XZ MB03XZ.exa --MB04AZ.exa: MB04AZ.dat TMB04AZ.exe; TMB04AZ MB04AZ.exa --MB04BZ.exa: MB04BZ.dat TMB04BZ.exe; TMB04BZ MB04BZ.exa --MB04DZ.exa: MB04DZ.dat TMB04DZ.exe; TMB04DZ MB04DZ.exa - MB04ED.exa: MB04ED.dat TMB04ED.exe; TMB04ED MB04ED.exa - MB04FD.exa: MB04FD.dat TMB04FD.exe; TMB04FD MB04FD.exa - MC01XD.exa: MC01XD.dat TMC01XD.exe; TMC01XD MC01XD.exa -@@ -524,9 +515,7 @@ TMB03XP.exe: TMB03XP.obj ; $(LOADER) -exe:TMB03XP TMB - TMB03ZD.exe: TMB03ZD.obj ; $(LOADER) -exe:TMB03ZD TMB03ZD.obj $(LOADOPTS) - TMB04DD.exe: TMB04DD.obj ; $(LOADER) -exe:TMB04DD TMB04DD.obj $(LOADOPTS) - TMB04DP.exe: TMB04DP.obj ; $(LOADER) -exe:TMB04DP TMB04DP.obj $(LOADOPTS) --TMB4DPZ.exe: TMB4DPZ.obj ; $(LOADER) -exe:TMB4DPZ TMB4DPZ.obj $(LOADOPTS) - TMB04DL.exe: TMB04DL.obj ; $(LOADER) -exe:TMB04DL TMB04DL.obj $(LOADOPTS) --TMB4DLZ.exe: TMB4DLZ.obj ; $(LOADER) -exe:TMB4DLZ TMB4DLZ.obj $(LOADOPTS) - TMB04DS.exe: TMB04DS.obj ; $(LOADER) -exe:TMB04DS TMB04DS.obj $(LOADOPTS) - TMB04PB.exe: TMB04PB.obj ; $(LOADER) -exe:TMB04PB TMB04PB.obj $(LOADOPTS) - TMB04PU.exe: TMB04PU.obj ; $(LOADER) -exe:TMB04PU TMB04PU.obj $(LOADOPTS) -@@ -542,14 +531,7 @@ TMB03KD.exe: TMB03KD.obj ; $(LOADER) -exe:TMB03KD TMB - TMB03LD.exe: TMB03LD.obj ; $(LOADER) -exe:TMB03LD TMB03LD.obj $(LOADOPTS) - TMB04AD.exe: TMB04AD.obj ; $(LOADER) -exe:TMB04AD TMB04AD.obj $(LOADOPTS) - TMB04BD.exe: TMB04BD.obj ; $(LOADER) -exe:TMB04BD TMB04BD.obj $(LOADOPTS) --TMB03BZ.exe: TMB03BZ.obj ; $(LOADER) -exe:TMB03BZ TMB03BZ.obj $(LOADOPTS) --TMB03FZ.exe: TMB03FZ.obj ; $(LOADER) -exe:TMB03FZ TMB03FZ.obj $(LOADOPTS) - TMB03LF.exe: TMB03LF.obj ; $(LOADER) -exe:TMB03LF TMB03LF.obj $(LOADOPTS) --TMB03LZ.exe: TMB03LZ.obj ; $(LOADER) -exe:TMB03LZ TMB03LZ.obj $(LOADOPTS) --TMB03XZ.exe: TMB03XZ.obj ; $(LOADER) -exe:TMB03XZ TMB03XZ.obj $(LOADOPTS) --TMB04AZ.exe: TMB04AZ.obj ; $(LOADER) -exe:TMB04AZ TMB04AZ.obj $(LOADOPTS) --TMB04BZ.exe: TMB04BZ.obj ; $(LOADER) -exe:TMB04BZ TMB04BZ.obj $(LOADOPTS) --TMB04DZ.exe: TMB04DZ.obj ; $(LOADER) -exe:TMB04DZ TMB04DZ.obj $(LOADOPTS) - TMB04ED.exe: TMB04ED.obj ; $(LOADER) -exe:TMB04ED TMB04ED.obj $(LOADOPTS) - TMB04FD.exe: TMB04FD.obj ; $(LOADER) -exe:TMB04FD TMB04FD.obj $(LOADOPTS) - TMC01XD.exe: TMC01XD.obj ; $(LOADER) -exe:TMC01XD TMC01XD.obj $(LOADOPTS) -@@ -773,9 +755,7 @@ TMB03XP.obj: ..\src\MB03XP.f TMB03XP.f ; $(FORTRAN) $( - TMB03ZD.obj: ..\src\MB03ZD.f TMB03ZD.f ; $(FORTRAN) $(OPTS) -c TMB03ZD.f - TMB04DD.obj: ..\src\MB04DD.f TMB04DD.f ; $(FORTRAN) $(OPTS) -c TMB04DD.f - TMB04DP.obj: ..\src\MB04DP.f TMB04DP.f ; $(FORTRAN) $(OPTS) -c TMB04DP.f --TMB4DPZ.obj: ..\src\MB4DPZ.f TMB4DPZ.f ; $(FORTRAN) $(OPTS) -c TMB4DPZ.f - TMB04DL.obj: ..\src\MB04DL.f TMB04DL.f ; $(FORTRAN) $(OPTS) -c TMB04DL.f --TMB4DLZ.obj: ..\src\MB4DLZ.f TMB4DLZ.f ; $(FORTRAN) $(OPTS) -c TMB4DLZ.f - TMB04DS.obj: ..\src\MB04DS.f TMB04DS.f ; $(FORTRAN) $(OPTS) -c TMB04DS.f - TMB04PB.obj: ..\src\MB04PB.f TMB04PB.f ; $(FORTRAN) $(OPTS) -c TMB04PB.f - TMB04PU.obj: ..\src\MB04PU.f TMB04PU.f ; $(FORTRAN) $(OPTS) -c TMB04PU.f -@@ -791,14 +771,7 @@ TMB03KD.obj: ..\src\MB03KD.f TMB03KD.f ; $(FORTRAN) $( - TMB03LD.obj: ..\src\MB03LD.f TMB03LD.f ; $(FORTRAN) $(OPTS) -c TMB03LD.f - TMB04AD.obj: ..\src\MB04AD.f TMB04AD.f ; $(FORTRAN) $(OPTS) -c TMB04AD.f - TMB04BD.obj: ..\src\MB04BD.f TMB04BD.f ; $(FORTRAN) $(OPTS) -c TMB04BD.f --TMB03BZ.obj: ..\src\MB03BZ.f TMB03BZ.f ; $(FORTRAN) $(OPTS) -c TMB03BZ.f --TMB03FZ.obj: ..\src\MB03FZ.f TMB03FZ.f ; $(FORTRAN) $(OPTS) -c TMB03FZ.f - TMB03LF.obj: ..\src\MB03LF.f TMB03LF.f ; $(FORTRAN) $(OPTS) -c TMB03LF.f --TMB03LZ.obj: ..\src\MB03LZ.f TMB03LZ.f ; $(FORTRAN) $(OPTS) -c TMB03LZ.f --TMB03XZ.obj: ..\src\MB03XZ.f TMB03XZ.f ; $(FORTRAN) $(OPTS) -c TMB03XZ.f --TMB04AZ.obj: ..\src\MB04AZ.f TMB04AZ.f ; $(FORTRAN) $(OPTS) -c TMB04AZ.f --TMB04BZ.obj: ..\src\MB04BZ.f TMB04BZ.f ; $(FORTRAN) $(OPTS) -c TMB04BZ.f --TMB04DZ.obj: ..\src\MB04DZ.f TMB04DZ.f ; $(FORTRAN) $(OPTS) -c TMB04DZ.f - TMB04ED.obj: ..\src\MB04ED.f TMB04ED.f ; $(FORTRAN) $(OPTS) -c TMB04ED.f - TMB04FD.obj: ..\src\MB04FD.f TMB04FD.f ; $(FORTRAN) $(OPTS) -c TMB04FD.f - TMC01XD.obj: ..\src\MC01XD.f TMC01XD.f ; $(FORTRAN) $(OPTS) -c TMC01XD.f -@@ -814,4 +787,5 @@ TTG01ND.obj: ..\src\TG01ND.f TTG01ND.f ; $(FORTRAN) $( - TTG01PD.obj: ..\src\TG01PD.f TTG01PD.f ; $(FORTRAN) $(OPTS) -c TTG01PD.f - TTG01QD.obj: ..\src\TG01QD.f TTG01QD.f ; $(FORTRAN) $(OPTS) -c TTG01QD.f - --.f.obj: ; $(FORTRAN) $(OPTS) -c $< -+.f.obj: -+ $(FORTRAN) $(OPTS) -c $< diff --git a/math/slicot/files/patch-examples_makefile__Unix b/math/slicot/files/patch-examples_makefile__Unix new file mode 100644 index 000000000000..ba134d924e1e --- /dev/null +++ b/math/slicot/files/patch-examples_makefile__Unix @@ -0,0 +1,30 @@ +--- examples/makefile_Unix.orig 2024-02-05 12:03:37 UTC ++++ examples/makefile_Unix +@@ -40,6 +40,8 @@ include ../make_Unix.inc + + include ../make_Unix.inc + ++# MB03BZ.exa removed - see https://github.com/SLICOT/SLICOT-Reference/issues/16 ++# Same for MB03FZ, MB03LZ, MB03XZ, MB04AZ, MB04BZ, MB4DLZ, MB4DPZ, MB04DZ + all: AB01MD.exa AB01ND.exa AB01OD.exa AB04MD.exa AB05MD.exa AB05ND.exa \ + AB05OD.exa AB05PD.exa AB05QD.exa AB05RD.exa AB07MD.exa AB07ND.exa \ + AB08ND.exa AB08NW.exa AB08NZ.exa AB09AD.exa AB09BD.exa AB09CD.exa \ +@@ -54,13 +56,13 @@ all: AB01MD.exa AB01ND.exa AB01OD.exa AB04MD.exa AB05M + IB01AD.exa IB01BD.exa IB01CD.exa IB03AD.exa IB03BD.exa \ + MB01TD.exa MB02CD.exa MB02DD.exa MB02ED.exa MB02FD.exa MB02GD.exa \ + MB02HD.exa MB02ID.exa MB02JD.exa MB02JX.exa MB02KD.exa MB02MD.exa \ +- MB02ND.exa MB02QD.exa MB02SD.exa MB02VD.exa MB03BD.exa MB03BZ.exa \ +- MB03FZ.exa MB03KD.exa MB03LD.exa MB03LF.exa MB03LZ.exa MB03MD.exa \ ++ MB02ND.exa MB02QD.exa MB02SD.exa MB02VD.exa MB03BD.exa \ ++ MB03KD.exa MB03LD.exa MB03LF.exa MB03MD.exa \ + MB03ND.exa MB03OD.exa MB03PD.exa MB03QD.exa MB03QG.exa MB03RD.exa \ + MB03SD.exa MB03TD.exa MB03UD.exa MB03VD.exa MB03WD.exa MB03XD.exa \ +- MB03XP.exa MB03XZ.exa MB03ZD.exa MB04AD.exa MB04AZ.exa MB04BD.exa \ +- MB04BZ.exa MB04DD.exa MB04DL.exa MB4DLZ.exa MB04DP.exa MB4DPZ.exa \ +- MB04DS.exa MB04DY.exa MB04DZ.exa MB04ED.exa MB04FD.exa MB04GD.exa \ ++ MB03XP.exa MB03ZD.exa MB04AD.exa MB04BD.exa \ ++ MB04DD.exa MB04DL.exa MB04DP.exa \ ++ MB04DS.exa MB04DY.exa MB04ED.exa MB04FD.exa MB04GD.exa \ + MB04MD.exa MB04OD.exa MB04PB.exa MB04PU.exa MB04TB.exa MB04TS.exa \ + MB04UD.exa MB04VD.exa MB04XD.exa MB04YD.exa MB04ZD.exa MB05MD.exa \ + MB05ND.exa MB05OD.exa MC01MD.exa MC01ND.exa MC01OD.exa MC01PD.exa \ diff --git a/math/slicot/files/patch-make__Unix.inc b/math/slicot/files/patch-make__Unix.inc new file mode 100644 index 000000000000..5fff92918818 --- /dev/null +++ b/math/slicot/files/patch-make__Unix.inc @@ -0,0 +1,26 @@ +--- make_Unix.inc.orig 2024-02-05 12:03:37 UTC ++++ make_Unix.inc +@@ -14,7 +14,7 @@ FORTRAN = gfortran + # the compiler options desired when NO OPTIMIZATION is selected. + # + FORTRAN = gfortran +-OPTS = -O2 -fPIC -fdefault-integer-8 ++#OPTS = -O2 -fPIC -fdefault-integer-8 + OPTS_NOOPT = -O0 + + # Define LDFLAGS to the desired linker options for your machine. +@@ -30,13 +30,11 @@ ARCHFLAGS = cr + # ARCHFLAGS= r + # RANLIB = ranlib + +-LOADOPTS = $(SLICOTLIB) $(LPKAUXLIB) $(LAPACKLIB) $(BLASLIB) ++#LOADOPTS = $(SLICOTLIB) $(LPKAUXLIB) $(LAPACKLIB) $(BLASLIB) + # + # The location of the libraries to which you will link. (The + # machine-specific, optimized BLAS library should be used whenever + # possible.) + # +-BLASLIB = ../libs/blas.a +-LAPACKLIB = ../libs/lapack.a + LPKAUXLIB = ../lpkaux.a + SLICOTLIB = ../slicot.a diff --git a/math/slicot/files/patch-src_makefile b/math/slicot/files/patch-src_makefile deleted file mode 100644 index 1b2c8e6aad36..000000000000 --- a/math/slicot/files/patch-src_makefile +++ /dev/null @@ -1,14 +0,0 @@ ---- src/makefile.orig 2022-05-27 14:40:35 UTC -+++ src/makefile -@@ -119,9 +119,9 @@ DSLSRC = \ - MB04DB.obj MB4DBZ.obj MB04DL.obj MB4DLZ.obj MB04DP.obj MB4DPZ.obj MB03AF.obj \ - MB03AG.obj MB03BF.obj MB03BG.obj MB01OD.obj MB01OE.obj MB01OH.obj MB01OO.obj \ - MB01OS.obj MB01OT.obj MB01RH.obj MB01RT.obj SG02CV.obj MB03AB.obj MB03AE.obj \ -- MB03AH.obj MB03AI.obj -+ MB03AH.obj MB03AI.obj MB01UY.obj SG03BR.obj - --all: double -+all: $(DSLSRC) - - double: $(DSLSRC) - $(ARCH) $(ARCHFLAGS):$(SLICOTLIB) $(DSLSRC) diff --git a/math/slicot/pkg-plist b/math/slicot/pkg-plist index b858a0bd5f2d..a1c971a765cb 100644 --- a/math/slicot/pkg-plist +++ b/math/slicot/pkg-plist @@ -1197,4 +1197,5 @@ lib/libslicot.so.0.0 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/UD01ND.exa %%PORTEXAMPLES%%%%EXAMPLESDIR%%/UD01ND.res %%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/makefile_Unix %%PORTEXAMPLES%%%%EXAMPLESDIR%%/readme