[137785] trunk/dports/perl

devans at macports.org devans at macports.org
Fri Jun 19 09:51:28 PDT 2015


Revision: 137785
          https://trac.macports.org/changeset/137785
Author:   devans at macports.org
Date:     2015-06-19 09:51:28 -0700 (Fri, 19 Jun 2015)
Log Message:
-----------
p5-test-file, p5-test-mockobject: remove extraneous README.pod file in distribution top level which causes conflicting files to be installed (#48104).

Modified Paths:
--------------
    trunk/dports/perl/p5-test-file/Portfile
    trunk/dports/perl/p5-test-mockobject/Portfile

Modified: trunk/dports/perl/p5-test-file/Portfile
===================================================================
--- trunk/dports/perl/p5-test-file/Portfile	2015-06-19 15:27:53 UTC (rev 137784)
+++ trunk/dports/perl/p5-test-file/Portfile	2015-06-19 16:51:28 UTC (rev 137785)
@@ -6,6 +6,7 @@
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         Test-File 1.42
+revision            1
 license             {Artistic-1 GPL}
 maintainers         devans openmaintainer
 description         Test::File -- test file attributes
@@ -21,5 +22,13 @@
                     port:p${perl5.major}-test-simple \
                     port:p${perl5.major}-test-utf8
 
+# remove extraneous README.pod which installs in Test rather than Test::File
+# also causes a corresponding misplaced man page to be installed
+# when 2 or more modules do this a conflict results (see Test::MockObject) (#48104) 
+
+    post-patch {
+        delete ${worksrcpath}/README.pod
+    }
+
     supported_archs noarch
 }

Modified: trunk/dports/perl/p5-test-mockobject/Portfile
===================================================================
--- trunk/dports/perl/p5-test-mockobject/Portfile	2015-06-19 15:27:53 UTC (rev 137784)
+++ trunk/dports/perl/p5-test-mockobject/Portfile	2015-06-19 16:51:28 UTC (rev 137785)
@@ -6,6 +6,7 @@
 
 perl5.branches      5.16 5.18 5.20
 perl5.setup         Test-MockObject 1.20150527
+revision            1
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 supported_archs     noarch
@@ -29,4 +30,12 @@
     depends_lib-append \
                     port:p${perl5.major}-universal-can \
                     port:p${perl5.major}-universal-isa
+
+# remove extraneous README.pod which installs in Test rather than Test::MockObject
+# also causes a corresponding misplaced man page to be installed
+# when 2 or more modules do this a conflict results (see Test::File) (#48104)
+
+    post-patch {
+        delete ${worksrcpath}/README.pod
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150619/a23beffa/attachment.html>


More information about the macports-changes mailing list