From owner-freebsd-ports Wed Aug 14 12:20: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80EED37B400 for ; Wed, 14 Aug 2002 12:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF2643E65 for ; Wed, 14 Aug 2002 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7EJK1JU025457 for ; Wed, 14 Aug 2002 12:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7EJK1gp025456; Wed, 14 Aug 2002 12:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E6437B400 for ; Wed, 14 Aug 2002 12:17:05 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5060143E6E for ; Wed, 14 Aug 2002 12:17:05 -0700 (PDT) (envelope-from cjc@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020814191704.OATN19356.rwcrmhc51.attbi.com@blossom.cjclark.org> for ; Wed, 14 Aug 2002 19:17:04 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g7EJH4JK030486 for ; Wed, 14 Aug 2002 12:17:04 -0700 (PDT) (envelope-from cjc@blossom.cjclark.org) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g7EJH3Pa030485; Wed, 14 Aug 2002 12:17:03 -0700 (PDT) Message-Id: <200208141917.g7EJH3Pa030485@blossom.cjclark.org> Date: Wed, 14 Aug 2002 12:17:03 -0700 (PDT) From: "Crist J. Clark" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41668: p5-PodParser does not build due to old File::Spec Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41668 >Category: ports >Synopsis: p5-PodParser does not build due to old File::Spec >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 12:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Crist J. Clark >Release: FreeBSD 4.5-RELEASE i386 >Organization: >Environment: Ports CVSup'ed as of 2002/08/14 >Description: The build phase of the PodParser module, fails due to the presence of the older File::Spec module in the base Perl install. The newer File::Spec, which is installed if needed earlier in the port build, is not found. # cd /usr/ports/textproc/p5-PodParser/ # make ===> Configuring for p5-PodParser-1.18 You need at least version 0.8 of the File::Spec module! BEGIN failed--compilation aborted at ./Makefile.PL line 14. *** Error code 255 Stop in /export/freebsd/ports/textproc/p5-PodParser. >How-To-Repeat: See "Description." >Fix: There are patches in the port to allow the installed files to find the newer File::Spec module rather than the old. For some reason, the build process has not been patched in the same way. I merely copied the same code added to these other files to Makefile.PL and the build went smoothly, --- Makefile.PL~ Thu Aug 10 14:41:59 2000 +++ Makefile.PL Wed Aug 14 12:09:03 2002 @@ -6,6 +6,9 @@ BEGIN { require 5.005; + # Added by FreeBSD ports to make sure newer version of File::Spec is used + use Config; + use lib $Config{installsitelib}; # installsitearch will be added automatically eval { require File::Spec }; $@ and die "You need to install the File::Spec module first!\n"; if(($File::Spec::VERSION || 0) < 0.8) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message