aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-ExtUtils-F77/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p5-ExtUtils-F77/Makefile')
-rw-r--r--lang/p5-ExtUtils-F77/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/lang/p5-ExtUtils-F77/Makefile b/lang/p5-ExtUtils-F77/Makefile
index f4c715a96876..81ed942fb2b3 100644
--- a/lang/p5-ExtUtils-F77/Makefile
+++ b/lang/p5-ExtUtils-F77/Makefile
@@ -19,15 +19,10 @@ PERL_CONFIGURE= yes
MAN3= ExtUtils::F77.3
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 400005
-F2CLIB= -lg2c
-.else
-F2CLIB= -lf2c
-.endif
+F2CLIB= -lg2c
post-patch:
@cd ${WRKSRC}; ${PERL5} -i.orig -pe \
's/(.*Freebsd.*lib )(-lf2c)(.*)/$$1 ${F2CLIB} $$3/' F77.pm
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>