From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 30 05:10:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 176F516A44A for ; Tue, 30 May 2006 05:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CAEE43D46 for ; Tue, 30 May 2006 05:10:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k4U5ABQh017144 for ; Tue, 30 May 2006 05:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k4U5ABcI017143; Tue, 30 May 2006 05:10:11 GMT (envelope-from gnats) Resent-Date: Tue, 30 May 2006 05:10:11 GMT Resent-Message-Id: <200605300510.k4U5ABcI017143@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Pedro F. Giffuni" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F07F16A456 for ; Tue, 30 May 2006 05:03:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C64E43D48 for ; Tue, 30 May 2006 05:03:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k4U53rgN033043 for ; Tue, 30 May 2006 05:03:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k4U53rq0033042; Tue, 30 May 2006 05:03:53 GMT (envelope-from nobody) Message-Id: <200605300503.k4U53rq0033042@www.freebsd.org> Date: Tue, 30 May 2006 05:03:53 GMT From: "Pedro F. Giffuni" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/98124: Minor cleanup on science/elmer-fem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 05:10:14 -0000 >Number: 98124 >Category: ports >Synopsis: Minor cleanup on science/elmer-fem >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue May 30 05:10:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.1-Release (amd64) >Organization: >Environment: FreeBSD etoile.cable.net.co 6.1-RELEASE FreeBSD 6.1-RELEASE #1: Fri May 12 00:18:58 COT 2006 root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION amd64 >Description: - Fix a minor issue with FCFLAGS so more agressive optimizations are possible. - This change follows the spirit of ports/98109 to elmer-mathlibs however no WITH_MPI knob is offered because it doesn't work until gcc41/gfortran are the default compilers. - The gfortran port claims to be experimental so while a knob for OPTIMIZED_FLAGS is provided (and such a thing makes sense in this module) it is not encouraged. >How-To-Repeat: >Fix: diff -ruN elmer-fem.orig/Makefile elmer-fem/Makefile --- elmer-fem.orig/Makefile Mon May 29 15:20:06 2006 +++ elmer-fem/Makefile Mon May 29 21:21:00 2006 @@ -29,9 +29,13 @@ FC= ${LOCALBASE}/bin/gfortran41 F77= ${FC} +.ifdef WITH_OPTIMIZED_FLAGS +FCFLAGS+= -O3 -ffast-math -funroll-loops +.endif + USE_AUTOTOOLS= autoconf:259 GNU_CONFIGURE= yes -CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS} +CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS="${FCFLAGS}" USE_GMAKE= yes ALL_TARGET= INSTALLS_SHLIB= yes >Release-Note: >Audit-Trail: >Unformatted: