Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 18:39:05 +0200 (CEST)
From:      tobez@plab.ku.dk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11546: Update to math/PDL (to compile cleanly on the latest 4.0)
Message-ID:  <199905061639.SAA18842@lion.plab.ku.dk>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905061639.SAA18842>