From owner-freebsd-ports@FreeBSD.ORG Wed Oct 3 08:13:27 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C0D016A418 for ; Wed, 3 Oct 2007 08:13:27 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id B13CB13C4AA for ; Wed, 3 Oct 2007 08:13:26 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so2289672wra for ; Wed, 03 Oct 2007 01:13:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=Bt903UMRAtTL7azZJcDTWFvhm0OraekPO9mr2CwuIrc=; b=onuBnYqlJyJVxQu6VLe+UBzmCkWy8jZdZqGUxyUFDWGNn3IqqrsrnI9vGEXI+RjVGSWa+0lWpPpRAiZcwgQ4/H3IadqmAMXdl42rbz2ShWry97TMJMrrD9aj7inkvz2dFnJF3VexEvde7dHYXx01qnxO3AD5/0aWAWXTv62vWjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pFUIWHMjW7ElkAuoclhXKm9+QH9aY7kIwyg6bF7YkSiLlqaTLZV44z+91YNR1haSbsnc2vJjrY2gxITDO6+GfQwCY987Enwk6bV9xpiPQNHgG97+DAK2ahjkT4/hgJaf1ENuoISEv8B6uGEIBdi/hdaSj9IABvjoR+lS+xHygOU= Received: by 10.142.201.3 with SMTP id y3mr368802wff.1191397710607; Wed, 03 Oct 2007 00:48:30 -0700 (PDT) Received: by 10.142.172.20 with HTTP; Wed, 3 Oct 2007 00:48:30 -0700 (PDT) Message-ID: Date: Wed, 3 Oct 2007 09:48:30 +0200 From: "Harald Servat" To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: papi port, fortran issues 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: Wed, 03 Oct 2007 08:13:27 -0000 Hello to everybody, recently I received an automated mail about a port I'm maintaining. Such mail includes a full report (which is good in order to review the problems ;) ) of the port build on amd64/freebsd7. The program needs fortran compiler, and looking at the report, I see that fortran compiler is installed, however the compiler name is gfortran42 (due to the gcc package is 4.2 I think). As the configure of the ported program does not look for gfortran42 explicitly (but looks for gfortran, g77, fortran, xlf and so) it fails when trying to compile the fortran code. So two questions arise to my mind, and which is the good way to solve this? Maybe should I look for gfortran42 (and change it for every compiler version), or should gcc package install a softlink from gfortran to gfortran42 --or the latest installed version--? why this doesn't happen on i386/freebsd7? Regards, -- _________________________________________________________________ Empty your memory, with a free()... like a pointer! If you cast a pointer to an integer, it becomes an integer, if you cast a pointer to a struct, it becomes a struct. The pointer can crash..., and can overflow. Be a pointer my friend...