ports/devel/p5-File-Temp/files/patch-Temp.pm
Johann Visagie 947bce0f6c - 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.
2002-03-25 14:45:39 +00:00

12 lines
314 B
Perl

--- 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;