From owner-freebsd-hackers Fri Apr 9 15: 8:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id B6B5D16065; Fri, 9 Apr 1999 14:58:46 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.1) id OAA21686; Fri, 9 Apr 1999 14:17:30 -0700 (PDT) (envelope-from sgk) From: Steve Kargl Message-Id: <199904092117.OAA21686@troutmask.apl.washington.edu> Subject: Re: ATTENTION PLEASE: g77 in base system. In-Reply-To: <19990409140618.B26149@nuxi.com> from "David O'Brien" at "Apr 9, 1999 02:06:18 pm" To: obrien@NUXI.com Date: Fri, 9 Apr 1999 14:17:30 -0700 (PDT) Cc: current@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > Speaking of ports, I have a working port of f2c and a new > > f77(1) wrapper sitting on my machine. > > I guess naming is going to get sticky here... if f2c has `f77', then *if* > I put egcs/g77 in the main tree, do I install it as `g77' or `f77'? > > The Egcs port installs it as `g77'... and what if someone makes some port > of an updated g77? > I would expect that you'll want to have a symlink from f77 to g77 in /usr/bin. If g77 includes a man page, you'll also want a symlink from f77.1 to g77.1. In the Makefile for the port of my f77 wrapper I have: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/f77.1 ${PREFIX}/man/man1 This could be changed to: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin/${F77NAME} ${INSTALL_MAN} ${WRKSRC}/f77.1 ${PREFIX}/man/man1/${F77NAME}.1 where F77NAME would default to fc. Why fc? Because, f2c provides an old Bourne shell script of the same name. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message