Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 09:50:51 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        faSty <fasty@i-sphere.com>
Cc:        skv@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: p5-PodParser
Message-ID:  <20020702095051.D558@k7.mavetju>
In-Reply-To: <20020701233923.GA22388@i-sphere.com>; from fasty@i-sphere.com on Mon, Jul 01, 2002 at 04:39:23PM -0700
References:  <20020701233923.GA22388@i-sphere.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 01, 2002 at 04:39:23PM -0700, faSty wrote:
> Hi guys,
> 
>  I tried compile the p5-Mail-SpamAssassin. It end up compiles failed
> due the version did not met the requirement. I am attempting install 
> the SpamAssassin milter for Sendmail.
> 
> ===>  Applying FreeBSD patches for p5-PodParser-1.18
> /usr/bin/find /usr/ports/textproc/p5-PodParser/work/PodParser-1.18 -name \*.orig -exec /bin/rm {} \;
> ===>  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 /usr/ports/textproc/p5-PodParser.
> *** Error code 1
> 
> Stop in /usr/ports/mail/p5-Mail-SpamAssassin.
> *** Error code 1

If you create the file
mail/p5-Mail-SpamAssassin/files/patch-use-ports-File-Spec-part2
with this in it:

--- 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) {

it will work and compile file.
I thought this was already fixed, but I'll send-pr it again.

Edwin
-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

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?20020702095051.D558>