[143619] trunk/dports/lang/perl5/Portfile
mojca at macports.org
mojca at macports.org
Tue Dec 15 15:53:10 PST 2015
Revision: 143619
https://trac.macports.org/changeset/143619
Author: mojca at macports.org
Date: 2015-12-15 15:53:10 -0800 (Tue, 15 Dec 2015)
Log Message:
-----------
perl5: branch -> perl5.major (a fix for r143612)
Revision Links:
--------------
https://trac.macports.org/changeset/143612
Modified Paths:
--------------
trunk/dports/lang/perl5/Portfile
Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile 2015-12-15 23:40:40 UTC (rev 143618)
+++ trunk/dports/lang/perl5/Portfile 2015-12-15 23:53:10 UTC (rev 143619)
@@ -206,20 +206,20 @@
set fd [open ${filespath}/${list}]; set $list [read $fd]; close $fd
}
foreach binFile $binList {
- if {[file exists ${prefix}/bin/${binFile}-${branch}]} {
- ln -s ${binFile}-${branch} ${destroot}${prefix}/bin/${binFile}
+ if {[file exists ${prefix}/bin/${binFile}-${perl5.major}]} {
+ ln -s ${binFile}-${perl5.major} ${destroot}${prefix}/bin/${binFile}
}
}
file mkdir ${destroot}${prefix}/share/man/man1p
foreach manFile $man1pList {
- if {[file exists ${prefix}/share/man/man1p/${manFile}-${branch}.1pm]} {
- ln -s ${manFile}-${branch}.1pm ${destroot}${prefix}/share/man/man1p/${manFile}.1pm
+ if {[file exists ${prefix}/share/man/man1p/${manFile}-${perl5.major}.1pm]} {
+ ln -s ${manFile}-${perl5.major}.1pm ${destroot}${prefix}/share/man/man1p/${manFile}.1pm
}
}
file mkdir ${destroot}${prefix}/share/man/man3p
foreach manFile $man3pList {
- if {[file exists ${prefix}/share/man/man3p/${manFile}-${branch}.3pm]} {
- ln -s ${manFile}-${branch}.3pm ${destroot}${prefix}/share/man/man3p/${manFile}.3pm
+ if {[file exists ${prefix}/share/man/man3p/${manFile}-${perl5.major}.3pm]} {
+ ln -s ${manFile}-${perl5.major}.3pm ${destroot}${prefix}/share/man/man3p/${manFile}.3pm
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151215/23ad92d4/attachment.html>
More information about the macports-changes
mailing list