diff options
author | edwin <edwin@FreeBSD.org> | 2007-10-04 07:22:04 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-10-04 07:22:04 +0800 |
commit | ae66d23574addf17e7d37590206d536f58ef52b9 (patch) | |
tree | 3039980d30aa6112620b0473c79a23d871077c27 /lang/p5-ExtUtils-F77 | |
parent | 37bf109345c47df26a557cde52e2fa7c4cefa61f (diff) | |
download | freebsd-ports-gnome-ae66d23574addf17e7d37590206d536f58ef52b9.tar.gz freebsd-ports-gnome-ae66d23574addf17e7d37590206d536f58ef52b9.tar.zst freebsd-ports-gnome-ae66d23574addf17e7d37590206d536f58ef52b9.zip |
Remove support for OSVERSION < 5
Diffstat (limited to 'lang/p5-ExtUtils-F77')
-rw-r--r-- | lang/p5-ExtUtils-F77/Makefile | 9 |
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> |