From owner-freebsd-ports Thu May 6 9:50: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 47939150E0 for ; Thu, 6 May 1999 09:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA86480; Thu, 6 May 1999 09:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lion.plab.ku.dk (lion.plab.ku.dk [130.225.105.49]) by hub.freebsd.org (Postfix) with ESMTP id 497B3151E1 for ; Thu, 6 May 1999 09:40:23 -0700 (PDT) (envelope-from tobez@lion.plab.ku.dk) Received: (from tobez@localhost) by lion.plab.ku.dk (8.9.3/8.9.1) id SAA18842; Thu, 6 May 1999 18:39:05 +0200 (CEST) Message-Id: <199905061639.SAA18842@lion.plab.ku.dk> Date: Thu, 6 May 1999 18:39:05 +0200 (CEST) From: tobez@plab.ku.dk Reply-To: tobez@plab.ku.dk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11546: Update to math/PDL (to compile cleanly on the latest 4.0) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11546 >Category: ports >Synopsis: Update to math/PDL (to compile cleanly on the latest 4.0) >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 6 09:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Anton Berezin >Release: FreeBSD 4.0-CURRENT i386 >Organization: The Protein Laboratory, University of Copenhagen >Environment: >Description: According to http://bento.freebsd.org/errorlogs/4-latest/, PDL cannot be built on 4.0-current due to f2c removal. This patch fixes this. >How-To-Repeat: Don't apply the patch, if you want to repeat it... >Fix: **NOTE**: One file added: patches/patch-ff diff -ruN PDL.bak/patches/patch-ff PDL/patches/patch-ff --- PDL.bak/patches/patch-ff Thu Jan 1 01:00:00 1970 +++ PDL/patches/patch-ff Thu May 6 18:09:19 1999 @@ -0,0 +1,14 @@ +--- Lib/Slatec/ExtUtils/F77.pm.orig Thu May 6 17:38:29 1999 ++++ Lib/Slatec/ExtUtils/F77.pm Thu May 6 18:06:10 1999 +@@ -140,6 +140,11 @@ + $F77config{Freebsd}{F77}{Trail_} = 1; + $F77config{Freebsd}{F77}{Link} = '-L/usr/lib -lf2c -lm'; + $F77config{Freebsd}{DEFAULT} = 'F77'; ++if (`f77 -v 2>\&1` =~ /^g77 version egcs/) { ++ # newer FreeBSD 4.0 ++ $F77config{Freebsd}{F77}{Compiler} = 'f77'; ++ $F77config{Freebsd}{F77}{Link} = '-L/usr/lib -lg2c -lm'; ++} + + ### VMS ### + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message