From ekarkkai@pp.htv.fi  Sat Sep 21 02:44:00 2002
Return-Path: <ekarkkai@pp.htv.fi>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 06F9437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Sep 2002 02:44:00 -0700 (PDT)
Received: from cs78136149.pp.htv.fi (cs78136149.pp.htv.fi [62.78.136.149])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7EADA43E6A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Sep 2002 02:43:58 -0700 (PDT)
	(envelope-from ekarkkai@pp.htv.fi)
Received: from corsair.my.domain (corsair.my.domain [192.168.1.10])
	by cs78136149.pp.htv.fi (8.12.6/8.12.6) with ESMTP id g8L9huo2000237;
	Sat, 21 Sep 2002 12:43:56 +0300 (EEST)
	(envelope-from ekarkkai@pp.htv.fi)
Received: from corsair.my.domain (localhost [127.0.0.1])
	by corsair.my.domain (8.12.6/8.12.6) with ESMTP id g8L9ht4C083608;
	Sat, 21 Sep 2002 12:43:55 +0300 (EEST)
	(envelope-from ejk@corsair.my.domain)
Received: (from ejk@localhost)
	by corsair.my.domain (8.12.6/8.12.6/Submit) id g8L9htVX083607;
	Sat, 21 Sep 2002 12:43:55 +0300 (EEST)
Message-Id: <200209210943.g8L9htVX083607@corsair.my.domain>
Date: Sat, 21 Sep 2002 12:43:55 +0300 (EEST)
From: Esa Karkkainen <ejk@iki.fi>
Reply-To: Esa Karkkainen <ejk@iki.fi>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ejk@iki.fi
Subject: SpamAssasin 2.41 build broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43156
>Category:       ports
>Synopsis:       SpamAssasin 2.41 build broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 21 02:50:01 PDT 2002
>Closed-Date:    Sat Sep 21 04:24:52 PDT 2002
>Last-Modified:  Sat Sep 21 04:24:52 PDT 2002
>Originator:     Esa Karkkainen
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
Is in state of disintegration
>Environment:

System: FreeBSD 4.7-PRERELEASE Sat Sep 14 18:17:21 EEST 2002
Ports tree: Sat 21 11:34 EEST 2002

Installed ports are:

p5-HTML-Parser-3.26
p5-Mail-SpamAssassin-2.31_2

>Description:

Introduced in 1.27 the p5-HTML-Parser dependecy has incorrect directory.
Only Parser.pm files found on my system are 

% locate Parser.pm
/usr/local/lib/perl5/site_perl/5.005/Pod/Parser.pm
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/HeadParser.pm
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/Parser.pm
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/PullParser.pm
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/TokeParser.pm

>How-To-Repeat:

Install HTML-Parser 3.26 first and then install or upgrade SpamAssassin 2.41.

>Fix:

--- Makefile.orig	Sat Sep 21 11:33:17 2002
+++ Makefile	Sat Sep 21 11:59:19 2002
@@ -17,7 +17,7 @@
 MAINTAINER=	ports@geeksrus.net
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/DNS.pm:${PORTSDIR}/net/p5-Net-DNS \
-		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/mach/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${ARCH}-freebsd/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
 RUN_DEPENDS=	${BUILD_DEPENDS} \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \

>Release-Note:
>Audit-Trail:

From: AlanE <alane@geeksrus.net>
To: Esa Karkkainen <ejk@iki.fi>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/43156: SpamAssasin 2.41 build broken
Date: Sat, 21 Sep 2002 06:25:19 -0400

 --WIyZ46R2i8wDzkSu
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, Sep 21, 2002 at 12:43:55PM +0300, Esa Karkkainen wrote:
 >
 >>Number:         43156
 >>Category:       ports
 >>Synopsis:       SpamAssasin 2.41 build broken
 
 >Introduced in 1.27 the p5-HTML-Parser dependecy has incorrect directory.
 >Only Parser.pm files found on my system are=20
 >
 >% locate Parser.pm
 >/usr/local/lib/perl5/site_perl/5.005/Pod/Parser.pm
 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/HeadParser.pm
 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/Parser.pm
 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/PullParser.pm
 >/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/HTML/TokeParser.pm
 
 Sorry, but I can't use your patch. On perl 5.8, the directories you have
 do not exist, but instead there is the generic "mach" directory. I'll
 see if there's another file I can check for instead.
 --=20
 Alan Eldridge
 Unix/C(++) IT Pro, 20 yrs, seeking new employment.
 (http://wwweasel.geeksrus.net/~alane/resume.txt)
 KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/)
 
 --WIyZ46R2i8wDzkSu
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.7 (FreeBSD)
 
 iD8DBQE9jEkMqGVvXRzDeXgRAvp4AJ9s4dGNLmj0AsB8eS1PyPY/aa9Q7QCdGbZ2
 44WOhfXvTpQQ9ZV+IiN5Qrc=
 =oQRj
 -----END PGP SIGNATURE-----
 
 --WIyZ46R2i8wDzkSu--
State-Changed-From-To: open->closed 
State-Changed-By: alane 
State-Changed-When: Sat Sep 21 04:23:46 PDT 2002 
State-Changed-Why:  
Committed a fix that works for both system and port perl (${PERL_ARCH}). 
Fixed error in pkg-plist while patient was open. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43156 
>Unformatted:
