pkgsrc/lang/f2c/patches/patch-ah
dmcmahill db66e6eea2 - don't hard code the c compiler name.
- automatically figure out MAIN__ vs _MAIN__
- don't clobber the path when running f2c-f77.  This lets you
  have a better chance of finding the c compiler!

With all this this package now seems fully functional on solaris-2.9 as
well as NetBSD.
2004-09-15 20:56:31 +00:00

12 lines
256 B
Text

$NetBSD: patch-ah,v 1.5 2004/09/15 20:56:31 dmcmahill Exp $
Used in checks for _MAIN__ vs MAIN__
--- /dev/null Wed Sep 15 12:50:48 2004
+++ hello.f Wed Sep 15 13:48:00 2004
@@ -0,0 +1,5 @@
+
+ PROGRAM hello
+ print*, 'hello world'
+ END
+