Date: Mon, 20 Mar 2006 17:31:11 +0100 (CET) From: Gabor Kovesdan <gabor.kovesdan@t-hosting.hu> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Gerald Pfeifer <gerald@FreeBSD.org> Subject: ports/94737: [port update] lang/gcc4[1-2] and lang/gfortran Message-ID: <20060320163111.1CAC59988BE@server.t-hosting.hu> Resent-Message-ID: <200603201640.k2KGeDpu010580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94737 >Category: ports >Synopsis: [port update] lang/gcc4[1-2] and lang/gfortran >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: Mon Mar 20 16:40:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gabor Kovesdan >Release: FreeBSD 5.3-RELEASE-p17 amd64 >Organization: n/a >Environment: >Description: The attached patch changes the naming convention for lang/gcc41 and lang/gcc42 to be consistent with the current naming convention of lang/gfortran. With this change, we can see in the package name whether gcc41 and gcc42 was compiled with WITH_FORTRAN defined or not. I know, with such change, PORTREVISION should be incremented, but that reflects the snapshot version, so I left it untouched, you can apply this change when upgrading to a newer snapshot version. >How-To-Repeat: >Fix: --- gfortran-gcc41-gcc42.diff begins here --- Index: ports/lang/gcc41/Makefile =================================================================== RCS file: /usr/cvs/ports/lang/gcc41/Makefile,v retrieving revision 1.251 diff -u -r1.251 Makefile --- ports/lang/gcc41/Makefile 15 Mar 2006 09:37:21 -0000 1.251 +++ ports/lang/gcc41/Makefile 20 Mar 2006 16:16:32 -0000 @@ -22,6 +22,7 @@ COMMENT= GNU Compiler Collection 4.1 .if defined(WITH_FORTRAN) +PKGNAMESUFFIX= -withfortran LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \ mpfr.1:${PORTSDIR}/math/mpfr .endif Index: ports/lang/gcc42/Makefile =================================================================== RCS file: /usr/cvs/ports/lang/gcc42/Makefile,v retrieving revision 1.250 diff -u -r1.250 Makefile --- ports/lang/gcc42/Makefile 15 Mar 2006 22:42:16 -0000 1.250 +++ ports/lang/gcc42/Makefile 20 Mar 2006 16:16:23 -0000 @@ -22,6 +22,7 @@ COMMENT= GNU Compiler Collection 4.2 .if defined(WITH_FORTRAN) +PKGNAMESUFFIX= -withfortran LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \ mpfr.1:${PORTSDIR}/math/mpfr .endif Index: ports/lang/gfortran/Makefile =================================================================== RCS file: /usr/cvs/ports/lang/gfortran/Makefile,v retrieving revision 1.14 diff -u -r1.14 Makefile --- ports/lang/gfortran/Makefile 6 Feb 2006 22:16:03 -0000 1.14 +++ ports/lang/gfortran/Makefile 20 Mar 2006 16:15:39 -0000 @@ -7,7 +7,6 @@ # MASTERDIR= ${.CURDIR}/../gcc41/ -PKGNAMESUFFIX= -withfortran WITH_FORTRAN= yes DESCR= ${.CURDIR}/pkg-descr --- gfortran-gcc41-gcc42.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060320163111.1CAC59988BE>