Ticket #61242: fixf2c.diff

File fixf2c.diff, 1.4 KB (added by DanielO (Daniel O'Connor), 4 years ago)
  • f2c/Portfile

    diff -Nru /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/f2c/Portfile f2c/Portfile
    old new  
    2323distname            src
    2424extract.suffix      .tgz
    2525
     26patchfiles          patch-makefile.u.diff
     27
    2628depends_run         port:libf2c
    2729
    2830use_configure       no
     
    3133
    3234build.args          -f makefile.u \
    3335                    CC="${configure.cc} [get_canonical_archflags cc]" \
    34                     CFLAGS="${configure.cflags}"
     36                    CFLAGS="${configure.cflags} -w"
    3537
    3638destroot {
    3739    xinstall ${worksrcpath}/f2c ${destroot}${prefix}/bin
  • f2c/files/patch-makefile.u.diff

    diff -Nru /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/f2c/files/patch-makefile.u.diff f2c/files/patch-makefile.u.diff
    old new  
     1--- makefile.u.orig     2020-09-28 21:19:04.000000000 +0930
     2+++ makefile.u  2020-09-28 21:20:04.000000000 +0930
     3@@ -24,7 +24,7 @@
     4 
     5 OBJECTS = $(OBJECTSd) $(MALLOC)
     6 
     7-all: xsum.out f2c
     8+all: f2c
     9 
     10 f2c: $(OBJECTS)
     11        $(CC) $(LDFLAGS) $(OBJECTS) -o f2c