Saturday, August 29, 2020

geo/p5-Geo-Coordinates-OSGB: fix RUN_DEPENDS

I've found out that a run depend is missing in that port while testing
it:

> ===> Regression tests for p5-Geo-Coordinates-OSGB-2.20p0
> Skip
> blib/lib/auto/share/dist/Geo-Coordinates-OSGB/ostn_north_shift_-84180
> (unchanged) Skip
> blib/lib/auto/share/dist/Geo-Coordinates-OSGB/ostn_east_shift_82140
> (unchanged) PERL_DL_NONLAZY=1 "/usr/bin/perl"
> "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef
> *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')"
> t/*.t Can't locate File/Share.pm in @INC (you may need to install the
> File::Share module)

OK ?

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/geo/p5-Geo-Coordinates-OSGB/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile 3 Jul 2020 21:45:21 -0000 1.5
+++ Makefile 29 Aug 2020 21:18:03 -0000
@@ -3,7 +3,7 @@
COMMENT = convert Lat/Lon to/from GB Ordnance Survey grid reference

DISTNAME = Geo-Coordinates-OSGB-2.20
-REVISION = 0
+REVISION = 1

CATEGORIES = geo

@@ -14,6 +14,7 @@ MODULES = cpan
MODCPAN_EXAMPLES = Yes

BUILD_DEPENDS = devel/p5-File-ShareDir-Install
+RUN_DEPENDS = devel/p5-File-Share>=0.25

PKG_ARCH = *

No comments:

Post a Comment