| Bug#: 58628 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: All | Status: RESOLVED | Severity: normal | Priority: P2 |
| Resolution: FIXED | Assigned To: dberkholz@gentoo.org | Reported By: gentoo-bugs@pekaje.homeip.net | |
| Component: Applications | |||
| URL: | |||
| Summary: app-sci/molden requires g77 but doesn't check for its existence. | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2004-07-28 00:16 0000 | |||
| Description: | Opened: 2004-07-28 00:16 0000 |
I came across this bug on Usenet in Message-ID: <2mmrh4Fop53qU1@uni-berlin.de>. Basically, gcc needs to be compiled with the f77 USE flag in order to build g77. However, no check is done and non-developers wouldn't know what to do with the error message. The Bash built-in 'type' function can be used to find out if g77 exists on the system, and fail the build with a more useful error message. I'll attach a solution that works for me.
Created an attachment (id=36304) [details]
Proposed patch
Thanks. I've committed a slightly different fix. Feel free to take a look and critique it.