Menu

#4476 modulef-99-12

open
5
2017-02-11
2015-02-20
No

The current prepending of the buried compiler directory with...

prepend_path PATH %p/lib/gcc4.8/bin
set path=(\$Mdpath %p/lib/gcc4.8/bin \$path)

seems non-sensical since there are no instances of 'gfortran' in the patched source directory. The attached packaging eliminates those bogus uses of prepend and changes the instances of gfortran in the info file to gfortran-fsf-4.9 to allow the BuildDepends gcc48 to be replaced with the more appropriate BuildDepends gcc49-compiler. Tested with 'fink -m' on 10.10.

Index: modulef.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/modulef.info,v
retrieving revision 1.2
diff -r1.2 modulef.info
3c3
< Revision: 11
---
> Revision: 12
12,13c12,13
< Depends: gcc48-compiler, gcc48-shlibs, x11-shlibs
< BuildDepends: x11-dev, gcc48
---
> Depends: gcc49-compiler, gcc49-shlibs, x11-shlibs
> BuildDepends: x11-dev, gcc49-compiler
40c40
<  make CC="cc -Wno-return-type"  F77="gfortran -O3 -fd-lines-as-comments" LINK="gfortran -O3 -Wl,-search_paths_first"
---
>  make CC="cc -Wno-return-type"  F77="gfortran-fsf-4.9 -O3 -fd-lines-as-comments" LINK="gfortran-fsf-4.9 -O3 -Wl,-search_paths_first"
51d50
<  prepend_path PATH %p/lib/gcc4.8/bin \
59c58
<  set path=(\$Mdpath %p/lib/gcc4.8/bin \$path)\
---
>  set path=(\$Mdpath \$path)\

Discussion

  • Jack Howarth

    Jack Howarth - 2015-02-20

    Info file for modulef-99-12

     
  • Jack Howarth

    Jack Howarth - 2015-02-20

    Patch files for modulef-99-12 are unchanged.

     
  • Hanspeter Niederstrasser

    • labels: --> sci, Updated Revision of Existing
     
  • Hanspeter Niederstrasser

    Note that dmacks 'recently' updated this to use gcc5, but did not incorporate all the changes from here.

     

Log in to post a comment.