ports/164413: [PATCH] converters/p5-Encode: add patch to fix tests

Steve Wills swills at FreeBSD.org
Mon Jan 23 16:40:08 UTC 2012


>Number:         164413
>Category:       ports
>Synopsis:       [PATCH] converters/p5-Encode: add patch to fix tests
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 16:40:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #8: Mon Dec 19 15:53:28 EST 2011
>Description:

The attached patch fixes "make test" with this module. Seems to be a slight bug
in the source. I've sent a request with this patch upstream. Thought I'd send
it your way in case you are interested.

Added file(s):
- files/patch-tpiconv

Port maintainer (rafan at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-Encode-2.44.patch begins here ---
Index: files/patch-tpiconv
===================================================================
RCS file: files/patch-tpiconv
diff -N files/patch-tpiconv
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-tpiconv	23 Jan 2012 16:32:57 -0000
@@ -0,0 +1,13 @@
+--- t/piconv.t
++++ t/piconv.t
+@@ -27,8 +27,8 @@ sub run_cmd (;$$);
+ 
+ my $blib =
+   File::Spec->rel2abs(
+-    File::Spec->catdir( $FindBin::RealBin, File::Spec->updir, 'blib' ) );
+-my $script = File::Spec->catdir($blib, 'script', 'piconv');
++    File::Spec->catdir( $FindBin::RealBin, File::Spec->updir ) );
++my $script = File::Spec->catdir($blib, 'bin', 'piconv');
+ my @base_cmd = ( $^X, "-Mblib=$blib", $script );
+ 
+ plan tests => 5;
--- p5-Encode-2.44.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list