Index: Portfile
===================================================================
--- Portfile	(revision 44399)
+++ Portfile	(working copy)
@@ -23,9 +23,10 @@
 
 configure.args      --mandir=${prefix}/share/man
 
-variant perl58 {
+variant perl5 {
+	depends_lib-append path:bin/perl:perl5
 	configure.args-append --with-perl
-	depends_lib-append port:perl5.8
+	configure.perl ${prefix}/bin/perl
 }
 
 variant php5 {

