[74848] trunk/dports/lang/perl5/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jan 3 15:02:36 PST 2011
Revision: 74848
http://trac.macports.org/changeset/74848
Author: ryandesign at macports.org
Date: 2011-01-03 15:02:28 -0800 (Mon, 03 Jan 2011)
Log Message:
-----------
perl5: actually bail if we can't create the symlink, since the symlink is rather required and substantially the point of this port; see http://lists.macosforge.org/pipermail/macports-users/2011-January/023042.html
Modified Paths:
--------------
trunk/dports/lang/perl5/Portfile
Modified: trunk/dports/lang/perl5/Portfile
===================================================================
--- trunk/dports/lang/perl5/Portfile 2011-01-03 21:30:56 UTC (rev 74847)
+++ trunk/dports/lang/perl5/Portfile 2011-01-03 23:02:28 UTC (rev 74848)
@@ -44,6 +44,7 @@
ln -s perl${version} ${destroot}${prefix}/bin/$name
} else {
ui_error "Can't find perl ${version} (as ${prefix}/bin/perl${version}) so can't link perl${version} to it."
+ return -code error "perl${version} is missing"
}
}
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110103/f5d5d3ac/attachment.html>
More information about the macports-changes
mailing list