diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-21 15:08:41 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-21 15:08:41 +0000 |
commit | 05f731b3c709eb38af51ef8953a8933b2c0537fe (patch) | |
tree | e1d151e05fc9d7ec038bcc94b85a7cb1b6173bbe | |
parent | b07da056432939e93d9aebd2968d9315b1626e52 (diff) |
Update to 1.20.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=417251
-rw-r--r-- | lang/p5-ExtUtils-F77/Makefile | 2 | ||||
-rw-r--r-- | lang/p5-ExtUtils-F77/distinfo | 5 | ||||
-rw-r--r-- | lang/p5-ExtUtils-F77/files/patch-F77.pm | 65 |
3 files changed, 4 insertions, 68 deletions
diff --git a/lang/p5-ExtUtils-F77/Makefile b/lang/p5-ExtUtils-F77/Makefile index d8c2a7c0de05..489b55cac4bb 100644 --- a/lang/p5-ExtUtils-F77/Makefile +++ b/lang/p5-ExtUtils-F77/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ExtUtils-F77 -PORTVERSION= 1.19 +PORTVERSION= 1.20 CATEGORIES= lang perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/lang/p5-ExtUtils-F77/distinfo b/lang/p5-ExtUtils-F77/distinfo index 2cead590be5e..70e78b3e72f8 100644 --- a/lang/p5-ExtUtils-F77/distinfo +++ b/lang/p5-ExtUtils-F77/distinfo @@ -1,2 +1,3 @@ -SHA256 (ExtUtils-F77-1.19.tar.gz) = 09cec663fe1cfee57951b46f6433d6b4255a57ec4a1ae8cf5c81099cae84afa5 -SIZE (ExtUtils-F77-1.19.tar.gz) = 12057 +TIMESTAMP = 1466518162 +SHA256 (ExtUtils-F77-1.20.tar.gz) = c42ba548d4b274ffae1535d0ece163b3ba42dc175ee6bdc537071dc52ebbd19a +SIZE (ExtUtils-F77-1.20.tar.gz) = 12201 diff --git a/lang/p5-ExtUtils-F77/files/patch-F77.pm b/lang/p5-ExtUtils-F77/files/patch-F77.pm deleted file mode 100644 index 007bb295d5f0..000000000000 --- a/lang/p5-ExtUtils-F77/files/patch-F77.pm +++ /dev/null @@ -1,65 +0,0 @@ ---- F77.pm.orig 2015-06-07 20:28:59 UTC -+++ F77.pm -@@ -343,9 +343,49 @@ $F77config{Aix}{DEFAULT} = 'F77'; - - ### FreeBSD ### - --$F77config{Freebsd}{F77}{Trail_} = 1; --$F77config{Freebsd}{F77}{Link} = '-L/usr/lib -lf2c -lm'; --$F77config{Freebsd}{DEFAULT} = 'F77'; -+if($^O =~ /Freebsd/i) { -+ $gfortran = 'gfortran44'; # requires rewrite -+ $fallback_compiler = 'G77'; -+} -+ -+$F77config{Freebsd}{G77}{Link} = sub { -+ $dir = `g77-34 -print-file-name=libg2c.a`; -+ chomp $dir; -+ # Note that -print-file-name returns just the library name -+ # if it cant be found - make sure that we only accept the -+ # directory if it returns a proper path (or matches a /) -+ -+ if( defined $dir ) { -+ $dir =~ s,/libg2c.a$,,; -+ } else { -+ $dir = "/usr/local/lib"; -+ } -+ return( "-L$dir -L/usr/lib -lg2c -lm" ); -+}; -+ -+$F77config{Freebsd}{GFortran}{Link} = sub { -+ $dir = `$gfortran -print-file-name=libgfortran.a`; -+ chomp $dir; -+ # Note that -print-file-name returns just the library name -+ # if it cant be found - make sure that we only accept the -+ # directory if it returns a proper path (or matches a /) -+ -+ if( defined $dir ) { -+ $dir =~ s,/libgfortran.a$,,; -+ } else { -+ $dir = "/usr/local/lib"; -+ } -+ return( "-L$dir -L/usr/lib -lgfortran -lm" ); -+}; -+ -+$F77config{Freebsd}{G77}{Trail_} = 1; -+$F77config{Freebsd}{GFortran}{Trail_} = 1; -+$F77config{Freebsd}{G77}{Compiler} = 'g77-34'; -+$F77config{Freebsd}{GFortran}{Compiler} = "$gfortran"; -+$F77config{Freebsd}{G77}{Cflags} = '-O2'; -+$F77config{Freebsd}{GFortran}{Cflags} = '-O2'; -+$F77config{Freebsd}{DEFAULT} = 'GFortran'; -+ - - ### VMS ### - -@@ -438,7 +478,8 @@ $Pkg: Will try system=Generic Compiler=$ - EOD - $system = - $Config{cc} =~ /\bgcc/ && $^O =~ /MSWin32/i ? "MinGW" -- :"Generic"; -+ : $^O =~ /Freebsd/i ? "Freebsd" -+ : "Generic"; - $compiler = $fallback_compiler; - my $flibs = get ($F77config{$system}{$compiler}{Link}); - $Runtime = $flibs ; #. gcclibs($flibs); # Note gcclibs appears to be no longer required. |