From owner-freebsd-ports@FreeBSD.ORG Fri Mar 26 00:43:05 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A0C916A4CE; Fri, 26 Mar 2004 00:43:05 -0800 (PST) Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD7343D39; Fri, 26 Mar 2004 00:43:04 -0800 (PST) (envelope-from Alexander@Leidinger.net) Received: from fwd01.aul.t-online.de by mailout08.sul.t-online.com with smtp id 1B6mvd-00014g-06; Fri, 26 Mar 2004 09:43:01 +0100 Received: from Andro-Beta.Leidinger.net (XV2oYeZegeQ0DZGQsinCXbi1hXl2iI9noaIc7fgscG4ts6QZ2Moqwr@[217.83.26.69]) by fmrl01.sul.t-online.com with esmtp id 1B6mvP-01UfTs0; Fri, 26 Mar 2004 09:42:47 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i2Q8giv0056530; Fri, 26 Mar 2004 09:42:45 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (netchild@localhost [127.0.0.1]) i2Q8giO3002560; Fri, 26 Mar 2004 09:42:44 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Fri, 26 Mar 2004 09:42:44 +0100 From: Alexander Leidinger To: "Dr. Richard E. Hawkins" Message-Id: <20040326094244.584ae10c@Magellan.Leidinger.net> In-Reply-To: <20040325233226.GE24906@slytherin.ds.psu.edu> References: <20040324163317.GA24906@slytherin.ds.psu.edu> <20040324175937.04014407@Magellan.Leidinger.net> <20040325205112.GD24906@slytherin.ds.psu.edu> <20040325224603.7c207108@Magellan.Leidinger.net> <20040325233226.GE24906@slytherin.ds.psu.edu> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: XV2oYeZegeQ0DZGQsinCXbi1hXl2iI9noaIc7fgscG4ts6QZ2Moqwr@t-dialin.net cc: maho@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: installing ifc at the moment (version conflict) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 08:43:05 -0000 On Thu, 25 Mar 2004 18:32:26 -0500 "Dr. Richard E. Hawkins" wrote: > > ifc maintainer CCed. > > > > #PATCHLEVEL= ${PORTVERSION:C/(.+p)(.+)$/pe\2/} > > > PATCHLEVEL= pe043 > > > > This installed the patched version (with the help of NO_CHECKSUM). > > > This is not enough. The icc port has the "intel-patch" target in the > > makefile. This needs to be used for ifc too. > > OK, I'll add that. Is what I did the right way to set patch level? It's a work around. Using something similar like the icc port does, makes it more easy for the maintainer to update the port. In the icc port you just have to set the PORTVERSION in a specific way and the PATCHLEVEL will be set to the right string automatically. > > > /usr/local/intel_fc_80/lib/libifcore.a(for_diags.o): In function > > > `redirect_stderr': > > etc. > > > > and so forth. I'm guessing that this is some kind of library mismatch. > > > Remember, this is not a native port. It's a linux port "hacked" to > > produce FreeBSD binaries. I think you have to add a lseek64 wrapper into > > lang/ifc/files/linux_file.c. > > ? But that's installed by the port. Wouldn't this mean that everyone > who installs the port has to do this (defeating the purpose?). I > certainly know my way about Fortran, but I don't know enough C to have > any idea what the above even means. The port needs an update to the actual patch level. This includes to write a "lseek64" function which calls the appropriate native FreeBSD function. You are trying to update it ATM, but as you said, you are lacking the appropriate skills to do it. So if you depend on a bugfix for ifc, you have to find someone with access to the ifc distfiles, enough knowledge to fix the problem and enough time to do it. Bye, Alexander. -- I will be available to get hired in April 2004. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7