[fink:package-submissions] #4476 modulef-99-12

"Hanspeter Niederstrasser" <[email protected]>
Newsgroups gmane.os.apple.fink.tracker
Message-ID </p/fink/package-submissions/4476/608cef0529c2d9e1d7470d25f45e563c1c144f43.package-submissions@fink.p.sourceforge.net>
- **labels**:  --> sci, Updated Revision of Existing
- **Comment**:

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



---

** [package-submissions:#4476] modulef-99-12**

**Status:** open
**Group:** Undergoing_Validation
**Labels:** sci Updated Revision of Existing 
**Created:** Fri Feb 20, 2015 08:40 PM UTC by Jack Howarth
**Last Updated:** Fri Feb 20, 2015 08:42 PM UTC
**Owner:** Martin Costabel


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)\
~~~~~~



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.