From owner-freebsd-current Mon Mar 13 8: 1:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id A626837BB89 for ; Mon, 13 Mar 2000 08:00:58 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id RAA21738 for ; Mon, 13 Mar 2000 17:00:33 +0100 (MET) Message-ID: <38CD1091.94E73AC9@we.lc.ehu.es> Date: Mon, 13 Mar 2000 17:00:17 +0100 From: "Jose M. Alcaide" Organization: Universidad del =?iso-8859-1?Q?Pa=EDs?= Vasco - Dpto. de Electricidad y =?iso-8859-1?Q?Electr=F3nica?= X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: suggestion: a g77 -> f77 link Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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