Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Jul 2002 09:55:16 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        skv@FreeBSD.org, fasty@i-sphere.com
Subject:   ports/40100: [patch] fix textproc/p5-PodParser a little bit more
Message-ID:  <20020701235516.2F5B26A7120@k7.mavetju>

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

>Number:         40100
>Category:       ports
>Synopsis:       [patch] fix textproc/p5-PodParser a little bit more
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 01 17:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386
# $FreeBSD: ports/textproc/p5-PodParser/Makefile,v 1.2 2002/06/18 07:05:52 dougb Exp $

>Description:

As observed by fasty@i-sphere.com, p5-Mail-SpamAssassin doesn't
install properly because textproc/p5-PodParser looks for File::Spec
still in the "default" installed directory instead of the ports-installed
directory.

>How-To-Repeat:

cd /usr/ports/textproc/p5-PodParser
make clean
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.


>Fix:

Add this file as files/patch-use-ports-File-Spec-part2:

--- Makefile.PL.old	Tue Jul  2 09:47:49 2002
+++ Makefile.PL	Tue Jul  2 09:48:05 2002
@@ -6,6 +6,11 @@
 
 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




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