From 9591d28a037ae53ccaa695eacab6f4b17931252b Mon Sep 17 00:00:00 2001 From: Pav Lucistnik <pav@FreeBSD.org> Date: Mon, 10 Dec 2007 22:50:56 +0000 Subject: - Attempt to change this so perl code using this module can work with g77 provided by gcc34 on FreeBSD 7.0 Reported by: pointyhat (pgperl failure) Approved by: portmgr (hat) --- lang/p5-ExtUtils-F77/Makefile | 3 ++- lang/p5-F77/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lang') diff --git a/lang/p5-ExtUtils-F77/Makefile b/lang/p5-ExtUtils-F77/Makefile index 81ed942fb2b3..d5b92bcc3c3c 100644 --- a/lang/p5-ExtUtils-F77/Makefile +++ b/lang/p5-ExtUtils-F77/Makefile @@ -7,6 +7,7 @@ PORTNAME= ExtUtils-F77 PORTVERSION= 1.15 +PORTREVISION= 1 CATEGORIES= lang perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ExtUtils @@ -23,6 +24,6 @@ F2CLIB= -lg2c post-patch: @cd ${WRKSRC}; ${PERL5} -i.orig -pe \ - 's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm + "s/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/ ; s/'f77',/'f77','g77-34',/" F77.pm .include <bsd.port.mk> diff --git a/lang/p5-F77/Makefile b/lang/p5-F77/Makefile index 81ed942fb2b3..d5b92bcc3c3c 100644 --- a/lang/p5-F77/Makefile +++ b/lang/p5-F77/Makefile @@ -7,6 +7,7 @@ PORTNAME= ExtUtils-F77 PORTVERSION= 1.15 +PORTREVISION= 1 CATEGORIES= lang perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ExtUtils @@ -23,6 +24,6 @@ F2CLIB= -lg2c post-patch: @cd ${WRKSRC}; ${PERL5} -i.orig -pe \ - 's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm + "s/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/ ; s/'f77',/'f77','g77-34',/" F77.pm .include <bsd.port.mk> -- cgit v1.2.3