aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-ExtUtils-F77
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-03 23:22:04 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-03 23:22:04 +0000
commitc0b3ecac4483b2524287317171c79548d9842905 (patch)
treea54ccbce3d9ebec379dfb9b18dc59f736f99ac20 /lang/p5-ExtUtils-F77
parenta582224f292229127fbfc1892699cee68aed933f (diff)
downloadports-c0b3ecac4483b2524287317171c79548d9842905.tar.gz
ports-c0b3ecac4483b2524287317171c79548d9842905.zip
Remove support for OSVERSION < 5
Notes
Notes: svn path=/head/; revision=200759
Diffstat (limited to 'lang/p5-ExtUtils-F77')
-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>