perl/p5-eperl: move +shared-check to pre-configure perl is depends_lib and will thus be installed before configure; we can move the check for +shared to pre-configure
--- users/cal/ports/perl/p5-eperl/Portfile 2011-08-30 17:11:31 UTC (rev 83369)
+++ users/cal/ports/perl/p5-eperl/Portfile 2011-08-30 17:17:05 UTC (rev 83370)
@@ -114,7 +114,7 @@
test.run yes
-pre-build {
+pre-configure {
if ![exec ${perl5.bin} -MConfig -e "print \$Config{'useshrplib'} || 0"] {
ui_error "${name} requires perl5 to be installed with the +shared variant."
return -code error "perl5 must be +shared"