aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-12-10 22:50:56 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-12-10 22:50:56 +0000
commit9591d28a037ae53ccaa695eacab6f4b17931252b (patch)
treed161af4451cecedca3a54c27c63bb856b60ecf6f
parent41df7de0d288c3cd6f98669a13d7311113492cd8 (diff)
downloadports-9591d28a037ae53ccaa695eacab6f4b17931252b.tar.gz
ports-9591d28a037ae53ccaa695eacab6f4b17931252b.zip
- 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)
Notes
Notes: svn path=/head/; revision=202938
-rw-r--r--lang/p5-ExtUtils-F77/Makefile3
-rw-r--r--lang/p5-F77/Makefile3
2 files changed, 4 insertions, 2 deletions
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>