From 0335195d64d0899d0bea1509a9ac8386f1d63e27 Mon Sep 17 00:00:00 2001 From: wjv Date: Mon, 25 Mar 2002 14:45:39 +0000 Subject: - 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. --- devel/p5-File-Temp/Makefile | 2 ++ devel/p5-File-Temp/files/patch-Temp.pm | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 devel/p5-File-Temp/files/patch-Temp.pm (limited to 'devel/p5-File-Temp') 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; -- cgit v1.1