diff options
author | wjv <wjv@FreeBSD.org> | 2002-03-25 14:45:39 +0000 |
---|---|---|
committer | wjv <wjv@FreeBSD.org> | 2002-03-25 14:45:39 +0000 |
commit | 0335195d64d0899d0bea1509a9ac8386f1d63e27 (patch) | |
tree | ba31022e2ad4b825fdfbe3cd5b686a5d16fb6a0b /devel/p5-File-Temp | |
parent | f14fbbcb45e038d03ea2826b30e74ae864f8886f (diff) | |
download | FreeBSD-ports-0335195d64d0899d0bea1509a9ac8386f1d63e27.zip FreeBSD-ports-0335195d64d0899d0bea1509a9ac8386f1d63e27.tar.gz |
- 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/p5-File-Temp')
-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 14269df..67ca693 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 0000000..97f2dfe --- /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; |