Revision
83370
Author
cal@macports.org
Date
2011-08-30 10:17:05 -0700 (Tue, 30 Aug 2011)

Log Message

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

Modified Paths

Diff

Modified: users/cal/ports/perl/p5-eperl/Portfile (83369 => 83370)


--- 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"