Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 17:00:17 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        freebsd-current@FreeBSD.org
Subject:   suggestion: a g77 -> f77 link
Message-ID:  <38CD1091.94E73AC9@we.lc.ehu.es>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello,

While trying to compile Scilab-2.5 (the math/Scilab port is outdated),
I found that the "configure" script, when instructed to use the
GNU Fortran compiler, searchs for "g77". Unfortunately, this compiler
is installed as /usr/bin/f77. The solution is simple: "ln f77 g77",
but I think that the "g77" link should be standard, since it's coherent
with the existence of the "cc" and "gcc" links.

I think that this patch could do the trick:

------------------ BEGIN --------------------
--- gnu/usr.bin/cc/f77/Makefile.orig    Mon Jan 24 21:12:05 2000
+++ gnu/usr.bin/cc/f77/Makefile Mon Mar 13 16:53:11 2000
@@ -7,6 +7,9 @@
 PROG=  f77
 SRCS=  gcc.c g77spec.c version.c
 
+LINKS= ${BINDIR}/f77 ${BINDIR}/g77
+MLINKS= f77.1 g77.1
+
 DPADD+=        ${LIBCC_INT} ${LIBCC_FBSD}
 LDADD+=        ${LIBCC_INT} ${LIBCC_FBSD}
 
-------------------- END --------------------

Cheers,
-- JMA
-----------------------------------------------------------------------
José Mª Alcaide                         | mailto:jose@we.lc.ehu.es
Universidad del País Vasco              | mailto:jmas@FreeBSD.org
Dpto. de Electricidad y Electrónica     | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN          | Fax:   +34-946013071
-----------------------------------------------------------------------
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?38CD1091.94E73AC9>