diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2002-03-25 14:45:39 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2002-03-25 14:45:39 +0000 |
commit | 947bce0f6cfec4deea4c0c4b5e572093c6c36bd0 (patch) | |
tree | cd7b6a78969cb2e452d2fdb5f54d5b163b8a5999 /devel | |
parent | remove redundant .endif (diff) |
- Add a rather hackish patch to force File::Temp to find the File::Spec
installed (from devel/p5-Site-Spec) uner site_perl before the one installed
with Perl. This makes File::Temp work with Perl 5.005_03 currently in the
-STABLE base system. (Advice from any Perl gurus on a better way to do
this would be appreciated.)
- Bumped PORTREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-File-Temp/Makefile | 2 | ||||
-rw-r--r-- | devel/p5-File-Temp/files/patch-Temp.pm | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/p5-File-Temp/Makefile b/devel/p5-File-Temp/Makefile index 14269df4a523..67ca693e4446 100644 --- a/devel/p5-File-Temp/Makefile +++ b/devel/p5-File-Temp/Makefile @@ -7,6 +7,7 @@ PORTNAME= File-Temp PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= File @@ -14,6 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= wjv@FreeBSD.org +# This dependency is not required for Perl >= 5.6.0 BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec RUN_DEPENDS= ${BUILD_DEPENDS} diff --git a/devel/p5-File-Temp/files/patch-Temp.pm b/devel/p5-File-Temp/files/patch-Temp.pm new file mode 100644 index 000000000000..97f2dfec0b92 --- /dev/null +++ b/devel/p5-File-Temp/files/patch-Temp.pm @@ -0,0 +1,12 @@ +--- Temp.pm.orig Fri Feb 23 02:00:56 2001 ++++ Temp.pm Mon Mar 25 16:09:59 2002 +@@ -116,6 +116,9 @@ + + =cut + ++use Config; ++use lib $Config{'installsitelib'}; ++ + # 5.6.0 gives us S_IWOTH, S_IWGRP, our and auto-vivifying filehandls + # People would like a version on 5.005 so give them what they want :-) + use 5.005; |