From 851f0ed7aa91bc8f2b2a32f0e3d547361fbc69d4 Mon Sep 17 00:00:00 2001 From: bf Date: Fri, 20 Jan 2012 17:26:00 +0000 Subject: The compiler flags contain '/', so use a different delimiter with sed; set USE_FORTRAN; remove some unused variables --- lang/p5-ExtUtils-F77/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lang') 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 -- cgit