diff options
author | edwin <edwin@FreeBSD.org> | 2003-02-12 19:24:53 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-02-12 19:24:53 +0800 |
commit | cd7443fdbddc60f4f03b93bd3c67d2660496ee6f (patch) | |
tree | 5798ac8bb8eea7a380ec2b75202a9dbe6be92c30 /devel | |
parent | 6be99d3436056b65e05f6185a3386463b2480091 (diff) | |
download | freebsd-ports-gnome-cd7443fdbddc60f4f03b93bd3c67d2660496ee6f.tar.gz freebsd-ports-gnome-cd7443fdbddc60f4f03b93bd3c67d2660496ee6f.tar.zst freebsd-ports-gnome-cd7443fdbddc60f4f03b93bd3c67d2660496ee6f.zip |
Fix p5-File-Spec dependency.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-File-Temp/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/p5-File-Temp/Makefile b/devel/p5-File-Temp/Makefile index 18e99f631c04..3d6007c94cb1 100644 --- a/devel/p5-File-Temp/Makefile +++ b/devel/p5-File-Temp/Makefile @@ -26,11 +26,9 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} -PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|} -PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|} - -.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +.if ${PERL_LEVEL} < 500601 BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec -.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8 +RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec +.endif .include <bsd.port.post.mk> |