Date: Thu, 27 Dec 2007 02:28:50 GMT From: Nakata Maho <maho@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/119052: USE_FORTRAN=yes should imply RUN_DEPENDS for FORTRAN compilers Message-ID: <200712270228.lBR2Souj065382@www.freebsd.org> Resent-Message-ID: <200712270230.lBR2U2KY078394@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 119052 >Category: ports >Synopsis: USE_FORTRAN=yes should imply RUN_DEPENDS for FORTRAN compilers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 27 02:30:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Nakata Maho >Release: 6.2-RELEASE >Organization: FreeBSD.org >Environment: >Description: Some packages contain FORTRAN compiled objects. In this case, runtime packages, namely gcc42 for most cases, should be listed on RUN_DEPENDS section. This PR is just a reminder for Pav, Gerald and maho (me). Pav ask gerald and me about it (http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.7.2007111222/pfstools-1.6.2_1.log) at Date: Thu, 15 Nov 2007 00:46:37 +0100, and I proposed a patch at Date: Thu, 15 Nov 2007 10:48:42 +0900 (JST) and Gerald approve this patch at: Date: Sun, 09 Dec 2007 20:47:22 +0100 (CET) >How-To-Repeat: >Fix: apply following patch for bsd.gcc.mk. --- ports/Mk/bsd.gcc.mk~ 2007-11-10 08:33:22.000000000 +0900 +++ ports/Mk/bsd.gcc.mk 2007-11-15 10:31:00.000000000 +0900 @@ -71,6 +71,7 @@ # gfortran42 from lang/gcc42 is the default for now. . if ${USE_FORTRAN} == yes || ${USE_FORTRAN} == gfortran42 BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +RUN_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 FC:= gfortran42 F77:= gfortran42 . endif @@ -78,6 +79,7 @@ # Intel Fortran compiler from lang/ifc. . if ${USE_FORTRAN} == ifort BUILD_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc +RUN_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc FC:= ${LOCALBASE}/intel_fc_80/bin/ifort F77:= ${LOCALBASE}/intel_fc_80/bin/ifort . endif @@ -87,6 +89,7 @@ . if ${USE_FORTRAN} == g77 . if (${OSVERSION} > 700000) BUILD_DEPENDS+= g77-34:${PORTSDIR}/lang/gcc34 +RUN_DEPENDS+= g77-34:${PORTSDIR}/lang/gcc34 FC:= g77-34 F77:= g77-34 .else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712270228.lBR2Souj065382>