Opened 7 years ago

Closed 7 years ago

#42887 closed submission (fixed)

slatec @4.1 New port

Reported by: smaret (Sebastien Maret) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: slatec

Description

Please find enclosed a new port for the SLATEC Common Mathematical Library. This library is used by the new Gildas port (see #42886).

Attachments (2)

patch-slatec4linux.diff (52.5 KB) - added by smaret (Sebastien Maret) 7 years ago.
Patch from http://www.netlib.org/slatec/
Portfile (1.2 KB) - added by smaret (Sebastien Maret) 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by smaret (Sebastien Maret)

Attachment: patch-slatec4linux.diff added

comment:1 Changed 7 years ago by smaret (Sebastien Maret)

Cc: sebastien.maret@… added

Cc Me!

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Some notes:

  • The revision line should be deleted because it starts at 0.
  • Use a sha256 checksum and remove the obsolete sha1 and md5 checksums unless upstream provides them.
  • Use the compilers portgroup instead of forcing the use of gcc48 for FORTRAN compiling. See the sparskit for an example of how to use it.
  • The license line should be:

license public-domain

  • In general, we do not set distfiles directly, it is best practice to set ${distname} and ${extract.suffix} separately.

comment:3 Changed 7 years ago by smaret (Sebastien Maret)

Thanks for the comments. A revised version of the Portfile is attached.

Changed 7 years ago by smaret (Sebastien Maret)

Attachment: Portfile added

comment:4 Changed 7 years ago by mf2k (Frank Schima)

Cc: sebastien.maret@… removed
Port: slatec added
Resolution: fixed
Status: newclosed
Version: 2.2.1

Added in r118084 with the following changes:

  • Added back rmd160 checksum
  • Fixed spacing to conform to the modeline.

Note also the following minor warnings that came from the compilers portgroup that I don't know how to fix.

$ port lint --nitpick slatec
--->  Verifying Portfile for slatec
Warning: Variant dragonegg30 conflicts with non-existing variant gfortran
Warning: Variant dragonegg31 conflicts with non-existing variant gfortran
Warning: Variant dragonegg32 conflicts with non-existing variant gfortran
Warning: Variant dragonegg33 conflicts with non-existing variant gfortran
Warning: Variant dragonegg34 conflicts with non-existing variant gfortran
Warning: Variant gcc44 conflicts with non-existing variant gfortran
Warning: Variant gcc45 conflicts with non-existing variant gfortran
Warning: Variant gcc46 conflicts with non-existing variant gfortran
Warning: Variant gcc47 conflicts with non-existing variant gfortran
Warning: Variant gcc48 conflicts with non-existing variant gfortran
Warning: Variant gcc49 conflicts with non-existing variant gfortran
--->  0 errors and 11 warnings found.
Note: See TracTickets for help on using tickets.