ports/117204: PAPI/devel port fix for GCC 4.2
Harald Servat
redcrash at gmail.com
Mon Oct 15 11:50:03 UTC 2007
>Number: 117204
>Category: ports
>Synopsis: PAPI/devel port fix for GCC 4.2
>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: Mon Oct 15 11:50:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Harald Servat
>Release: 6.2
>Organization:
>Environment:
FreeBSD BSCIT03.cepba.upc.edu 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Mon Mar 12 20:40:26 CET 2007 root at BSCIT03.cepba.upc.edu:/usr/obj/usr/src/sys/laptop i386
>Description:
I've got my port broken on AMD64/FreeBSD 7 machines (building farms, I think).
The problem is related with the name of the fortran compiler (gfortran42), which is not found using the configure script.
As a suggestion in the ports at freebsd.org, I've added a new line into the Makefile port in order to solve this.
I'm attaching the fix in diff -U format.
Thank you!
>How-To-Repeat:
>Fix:
--- Makefile Tue Oct 2 09:50:38 2007
+++ Makefile.new Mon Oct 15 13:36:29 2007
@@ -37,11 +37,7 @@
ONLY_FOR_ARCHS_REASON= HWPMC kernel module is only available for I386 and \
AMD64 machines
-.if ${OSVERSION} >= 700042
-.if ${ARCH} == "amd64"
-BROKEN= Does not compile with GCC 4.2
-.endif
-.endif
+CONFIGURE_ENV= F77="${F77}"
.if defined(WITHOUT_CTESTS)
PLIST_SUB+= CTESTS="@comment "
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list