summaryrefslogtreecommitdiff
path: root/lang
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
parent- Check for supported CPU features per MACHINE_CPU variable; it is both more (diff)
The compiler flags contain '/', so use a different delimiter
with sed; set USE_FORTRAN; remove some unused variables
Notes
Notes: svn path=/head/; revision=289533
Diffstat (limited to 'lang')
-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>