aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-ExtUtils-F77
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2012-01-20 17:26:00 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2012-01-20 17:26:00 +0000
commitf2a3597c79c5144bad4c277ad14c22d5d988b842 (patch)
treeb66fb99b9351f8eca8945680005441672129c992 /lang/p5-ExtUtils-F77
parentf5aa5faf9446c99bcb652353bfcc74a3582a7dc2 (diff)
downloadports-f2a3597c79c5144bad4c277ad14c22d5d988b842.tar.gz
ports-f2a3597c79c5144bad4c277ad14c22d5d988b842.zip
Notes
Diffstat (limited to 'lang/p5-ExtUtils-F77')
-rw-r--r--lang/p5-ExtUtils-F77/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/p5-ExtUtils-F77/Makefile b/lang/p5-ExtUtils-F77/Makefile
index 9b15ad343cab..e96591ba3307 100644
--- a/lang/p5-ExtUtils-F77/Makefile
+++ b/lang/p5-ExtUtils-F77/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ExtUtils-F77
PORTVERSION= 1.17
+PORTREVISION= 1
CATEGORIES= lang perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,15 +16,13 @@ MAINTAINER= perl@FreeBSD.org
COMMENT= Helps link C programs with Fortran subroutines
PERL_CONFIGURE= yes
+USE_FORTRAN= yes
MAN3= ExtUtils::F77.3
-GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
-F2CLIB= -lgfortran
-
post-patch:
- @${REINPLACE_CMD} -e "s/'gfortran44'/'${FC}'/" \
- -e "s/'-O2'/'${CFLAGS}'/" \
+ @${REINPLACE_CMD} -e "s|'gfortran44'|'${FC}'|" \
+ -e "s|'-O2'|'${CFLAGS}'|" \
${WRKSRC}/F77.pm
.include <bsd.port.mk>