Date: Fri, 9 Jun 2000 17:36:16 -0500 (CDT) From: Glenn Johnson <gjohnson@nola.srrc.usda.gov> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/19161: Get mopac to use newest f77 port with binary name ftn77 Message-ID: <200006092236.RAA21838@symbion.srrc.usda.gov>
next in thread | raw e-mail | index | archive | help
>Number: 19161 >Category: ports >Synopsis: The f77 port now installs binary as ftn77 but mopac calls fc >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 09 15:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Glenn Johnson >Release: FreeBSD 4.0-STABLE i386 >Organization: USDA, ARS, SRRC >Environment: >Description: The mopac port needs to be compiled with f2c/cc. The compiler controller for this is provided by the f77 port. The current f77 port installs the binary as ftn77 but the mopac port calls the older binary name fc. People should keep their ports tree up to date and so this port should reflect current reality. >How-To-Repeat: >Fix: Apply the patch below. I am not sure what to do about the case where people update the mopac port directory but do not update the rest of the ports tree. However, the mopac port was recently updated so it stands to reason that if one has the updated mopac port subdirectory they probably have a current ports tree. Thus the build dependency should be for ftn77 rather than fc. diff -ruN mopac.old/Makefile mopac/Makefile --- mopac.old/Makefile Fri Jun 9 16:37:03 2000 +++ mopac/Makefile Fri Jun 9 16:52:21 2000 @@ -23,11 +23,12 @@ .include <bsd.port.pre.mk> .if ${OSVERSION} >= 400005 -BUILD_DEPENDS= fc:${PORTSDIR}/lang/f77 -MAKE_ARGS+= FC=fc +BUILD_DEPENDS= ftn77:${PORTSDIR}/lang/f77 +MAKE_ARGS+= FC=ftn77 .else MAKE_ARGS+= FC=f77 .endif +MAKE_ARGS+= FFLAGS="${FFLAGS} -w" CFLAGS="${CFLAGS} -I${PREFIX}/include" .if ${MACHINE_ARCH} == "i386" FFLAGS+= -malign-double .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006092236.RAA21838>