diff options
Diffstat (limited to 'geography/p5-Geo-ShapeFile/patches/patch-t_main__tests.t')
-rw-r--r-- | geography/p5-Geo-ShapeFile/patches/patch-t_main__tests.t | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/geography/p5-Geo-ShapeFile/patches/patch-t_main__tests.t b/geography/p5-Geo-ShapeFile/patches/patch-t_main__tests.t new file mode 100644 index 00000000000..b7a00fa235e --- /dev/null +++ b/geography/p5-Geo-ShapeFile/patches/patch-t_main__tests.t @@ -0,0 +1,17 @@ +$NetBSD: patch-t_main__tests.t,v 1.1 2016/07/25 09:18:55 wen Exp $ +Add patch to be able to run tests without the need to install rlib, +which is not in ports and which can easily be replaced by the FindBin +The patch come from FreeBSD ports. +--- t/main_tests.t.orig 2016-07-25 08:39:51.000000000 +0000 ++++ t/main_tests.t +@@ -3,7 +3,9 @@ + use Test::More;
+ use strict;
+ use warnings;
+-use rlib '../lib', './lib';
++use FindBin; ++use lib "$FindBin::Bin/lib"; ++use lib "$FindBin::Bin/../lib"; +
+ use Geo::ShapeFile;
+ use Geo::ShapeFile::Shape;
|