perl-after-upgrade does not process anything

Sergey Prikhodko sergey at network-asp.biz
Sat Jul 2 17:04:09 GMT 2005


> BTW, my perl was installed as perl-threaded-5.8.7, could the package
> name be different from what the script expected? Or am I missing
> something obvious?

I have the same problem with perl-after-upgrade and you are right,
that's because of '-threaded' suffix.

You can use this dirty hack:

--- perl-after-upgrade.orig     Sat Jul  2 19:55:02 2005
+++ perl-after-upgrade  Sat Jul  2 19:47:39 2005
@@ -411,7 +411,7 @@
                return 1;
        }
        for ($pkg->lines) {
-               if (/^\@pkgdep\s+perl-($fuzzy_source)\S*\s*$/) {
+               if (/^\@pkgdep\s+perl-([\w-]*?)($fuzzy_source)\S*\s*$/) {
                        return 1;
                }
        }


I cc'ed tobez@ and hope he will fix it in ports tree soon.

-- 
Best regards,
  Sergey Prikhodko                mailto:sergey at network-asp.biz
  Network-ASP Ltd.                http://www.network-asp.biz/
  ICQ: 83537536  



More information about the freebsd-ports mailing list