Date: Sun, 10 Jul 2005 18:41:03 +0300 (EEST) From: Sergey Prikhodko <sergey@network-asp.biz> To: FreeBSD-gnats-submit@FreeBSD.org Cc: , tobez@FreeBSD.org Subject: ports/83223: lang/perl5.8: perl-after-upgrade do nothing when perl compiled with WITH_THREADS knob Message-ID: <20050710154103.22D5599193C@office.network-asp.biz> Resent-Message-ID: <200507101550.j6AFo7gB030163@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83223 >Category: ports >Synopsis: lang/perl5.8: perl-after-upgrade do nothing when perl compiled with WITH_THREADS knob >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 10 15:50:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Sergey Prikhodko >Release: FreeBSD 5.4-RELEASE-p1 i386 >Organization: Network-ASP >Environment: System: FreeBSD office.network-asp.biz 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Thu May 26 21:13:44 EEST 2005 root@office.network-asp.biz:/usr/obj/usr/src/sys/SMP-ROUTER i386 >Description: perl-after-upgrade do nothing when perl compiled with WITH_THREADS knob, because it search ports that depend on perl-5*, but when perl compiled with WITH_THREADS, it has name like perl-threaded-5.x.x >How-To-Repeat: Install perl with WITH_THREADS knob. Try to run perl-after-upgrade. >Fix: --- perl.patch begins here --- diff -ruN perl5.8.orig/files/perl-after-upgrade perl5.8/files/perl-after-upgrade --- perl5.8.orig/files/perl-after-upgrade Fri Jun 24 12:17:06 2005 +++ perl5.8/files/perl-after-upgrade Sun Jul 10 18:26:46 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; } } --- perl.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050710154103.22D5599193C>