From owner-freebsd-ports@FreeBSD.ORG Sun Jan 18 05:47:04 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04C55106564A for ; Sun, 18 Jan 2009 05:47:04 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id B8F2E8FC18 for ; Sun, 18 Jan 2009 05:47:03 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from acrux.dbai.tuwien.ac.at (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 4FCC53911E; Sun, 18 Jan 2009 06:47:02 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id 2FDBB10059; Sun, 18 Jan 2009 06:47:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id 1DFA910054; Sun, 18 Jan 2009 06:47:02 +0100 (CET) Date: Sun, 18 Jan 2009 06:47:02 +0100 (CET) From: Gerald Pfeifer To: ports@FreeBSD.org, murashin@gfd-dennou.org In-Reply-To: Message-ID: References: User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: An update regarding CONFIGURE_ENV and ${F77}, ${FC}, ${FFLAGS} X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 05:47:04 -0000 On Sun, 18 Jan 2009, Gerald Pfeifer wrote: > the following ports contain snippets along the lines of > > CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS} > > These are no longer necessary after recent improvement I have made to > the Mk/bsd.gcc.mk infrastructure related to the USE_FORTRAN knob. > > Please update your ports removing these. To provide a concrete example, in the case of science/dcl, something like the following would move into the right direction (untested): Gerald Index: Makefile =================================================================== RCS file: /home/ncvs/ports/science/dcl/Makefile,v retrieving revision 1.8 diff -u -3 -p -r1.8 Makefile --- Makefile 26 Sep 2008 08:54:21 -0000 1.8 +++ Makefile 18 Jan 2009 05:44:19 -0000 @@ -20,10 +20,7 @@ USE_XORG= x11 xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gtk2 --disable-gtk --with-x -WANT_FORTRAN= yes #dummy but future use -BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 -FC= gfortran42 -CONFIGURE_ENV+= FC="${FC}" FFLAGS="${FFLAGS}" +USE_FORTRAN= yes DOCFILES= CHECK CREDITS HISTORY README README_clrmap README_gt2dlib \ README_itr51 README_pslib README_umfmap