freebsd-ports/devel/p5-Geo-ShapeFile/files/patch-t_main__tests.t
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

14 lines
316 B
Perl

--- t/main_tests.t.orig 2016-06-20 14:43:13 UTC
+++ t/main_tests.t
@@ -3,7 +3,10 @@
use Test::More;
use strict;
use warnings;
-use rlib '../lib', './lib';
+#use rlib '../lib', './lib';
+use FindBin;
+use lib "$FindBin::Bin/lib";
+use lib "$FindBin::Bin/../lib";
use Geo::ShapeFile;
use Geo::ShapeFile::Shape;