ports/100449: PERL_VERSION set incorrectly in bsd.ports.mk
Alan Batie
alan at agora.rdrop.com
Mon Jul 17 20:00:38 UTC 2006
>Number: 100449
>Category: ports
>Synopsis: PERL_VERSION set incorrectly in bsd.ports.mk
>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: Mon Jul 17 20:00:36 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Alan Batie
>Release: FreeBSD 4.7-STABLE i386
>Organization:
RainDrop Laboratories
>Environment:
System: FreeBSD agora.rdrop.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Feb 3 00:57:16 PST 2003 root at agora.rdrop.com:/usr/src/freebsd/src/sys/compile/AGORA i386
>Description:
bsd.port.mk fixes PERL_VERSION based on what shipped with the particular
OS version, not based on what is currently installed and/or selected by
use.perl. This causes many ports that depend on a newer version of perl
to refuse to build, despite the fact that a supported version of perl is
available.
>How-To-Repeat:
check out a current version of ports on an older version of FreeBSD (4.x for example).
try to build a port that requires perl 5.6 or later (e.g. net-mgmt/p5-Net-SNMP)
>Fix:
workaround is to edit bsd.port.mk and force PERL_VERSION to the version, though I suspect
there are some issues with this and I haven't fully tested it. Between the system and port
instances of perl, and the myriad version libraries, perl module version management is a
nightmare on long-lived systems...
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list