Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2005 20:04:09 +0300
From:      Sergey Prikhodko <sergey@network-asp.biz>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        tobez@FreeBSD.org, freebsd-ports@freebsd.org
Subject:   Re[2]: perl-after-upgrade does not process anything
Message-ID:  <1043727746.20050702200409@network-asp.biz>
In-Reply-To: <c21e92e2050628070624928cde@mail.gmail.com>
References:  <c21e92e2050627183623236331@mail.gmail.com> <42C14EAB.4020902@protey.ru> <86fyv2fush.fsf@borg.borderworlds.dk> <c21e92e2050628070624928cde@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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@network-asp.biz
  Network-ASP Ltd.                http://www.network-asp.biz/
  ICQ: 83537536  




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043727746.20050702200409>