From tobez@lion.plab.ku.dk Thu May  6 09:41:46 1999
Return-Path: <tobez@lion.plab.ku.dk>
Received: from lion.plab.ku.dk (lion.plab.ku.dk [130.225.105.49])
	by hub.freebsd.org (Postfix) with ESMTP id 497B3151E1
	for <FreeBSD-gnats-submit@freebsd.org>; 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
Sender: tobez@lion.plab.ku.dk
Reply-To: tobez@plab.ku.dk
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update to math/PDL (to compile cleanly on the latest 4.0)
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 09:50:00 PDT 1999
>Closed-Date:    Sun May 9 09:13:42 PDT 1999
>Last-Modified:  Sun May  9 09:14:45 PDT 1999
>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:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 9 09:13:42 PDT 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
