[131731] trunk/dports/perl/p5-perlio-via-symlink/Portfile
devans at macports.org
devans at macports.org
Fri Jan 16 08:31:43 PST 2015
Revision: 131731
https://trac.macports.org/changeset/131731
Author: devans at macports.org
Date: 2015-01-16 08:31:43 -0800 (Fri, 16 Jan 2015)
Log Message:
-----------
p5-perlio-via-symlink: remove outdated inc::Module::Install included with module, fixes build failure for perl5.18+, see comments (#46579).
Modified Paths:
--------------
trunk/dports/perl/p5-perlio-via-symlink/Portfile
Modified: trunk/dports/perl/p5-perlio-via-symlink/Portfile
===================================================================
--- trunk/dports/perl/p5-perlio-via-symlink/Portfile 2015-01-16 15:53:28 UTC (rev 131730)
+++ trunk/dports/perl/p5-perlio-via-symlink/Portfile 2015-01-16 16:31:43 UTC (rev 131731)
@@ -6,15 +6,29 @@
perl5.branches 5.16 5.18 5.20
perl5.setup PerlIO-via-symlink 0.05
-revision 3
+revision 4
license {Artistic-1 GPL}
maintainers nomaintainer
-description This is a PerlIO layer for creating symlinks (used by svk).
+description This is a PerlIO layer for creating symlinks
long_description ${description}
checksums rmd160 2be2272706138ec4a13740c6d95a27eda421968c \
sha256 4107d4c34a6a3629453448c25695d92f82522aff64e29b716b56a5af586b2d52
platforms darwin
-supported_archs noarch
+
+if {${perl5.major} != ""} {
+ depends_build-append \
+ port:p${perl5.major}-module-install
+
+# remove outdated inc::Module::Install included with module
+# causes build failure for perl5.18+
+# see https://rt.cpan.org/Public/Bug/Display.html?id=86016
+
+ post-patch {
+ delete ${worksrcpath}/inc
+ }
+
+ supported_archs noarch
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150116/82db4e49/attachment.html>
More information about the macports-changes
mailing list