Index: Portfile
===================================================================
--- Portfile	(revision 47914)
+++ Portfile	(working copy)
@@ -27,6 +27,11 @@
     sha1    19843b5a7585cf35d96c07dbcd419bbdd5813617 \
     rmd160  680004238d626ec985075e1b4519b7f0b34f57e5
 
+# Perl modules are installed into ARCHLIB and PRIVLIB.
+# Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the @INC array so perl will find them first.
+# This allows MacPorts to upgrade modules installed with perl.
+patchfiles  patch-perl.c.diff
+
 post-patch {
     reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
     # Ensure that the ld value set in configure.args is used

