10-CURRENT r235646 && ports/mail/p5-Mail-SpamAssassin

Michael Scheidell scheidell at FreeBSD.org
Mon May 28 10:36:38 UTC 2012

On 5/28/12 4:57 AM, Matthias Apitz wrote:
> Using perl-5.8.9 did not make p5-Mail-SpamAssassin building; I updated
> perl to 5.12 (following the guide in UPDATING), but this wasn't enough
> either; there was missing Perl/OSType.pm for building the port
> p5-Module-Build; I ended up with updating perl to 5.14 (and all
> depending p5-* ports with:
yes, updating perl never works for me.  never did.  not since my FreeBSD 
2.x days.
I always have to do something manually. it might have been missed with 
the perl5.8.9 ->5.12 upgrade, who knows.

You might want to open a pr [PATCH] devel/p5-Module-Build - conditional 
add BUILD_DEPENDS perl < 5.14.

in the makefile, check for perl_ver and conditionally add that depends.

(however, last time I build SA in a tinderbox with perl 5.12+, it worked 
just fine, )

anyone archiving this:

besides what it says in UPDATING, and I have said this a couple of times 
in the past:

once you are done, and do the perl-after-upgrade -f, do this and 
examiine the output:

rsync -avun ../(oldperllib)/  .../(newperllibs)
as in cd /usr/local/lib/perl5
rsync -avun 5.8.9/ 5.12/
cd site_perl
rsync -avun 5.8.9/ 5.12/

check the files you see listed (-un does a dry run, checks times for 
newer files)

some of these files that are left over are because they are not needed, 
ie: in the newer perl version.

delete them.

then run rsync without -n.

then delete the old crap
rm-rf /usr/local/lib/perl5/5.8.9 /usr/local/lib/perl5/site_perl/5.8.9

the above is NOT sanctioned by FreeBSD, perl@, The White House, #10 
Downing street, UNISCO or SECNAP.

I find you WILL always have problems with perl upgrades.

I usually just get a listing of depends, pkg_delete the whole lot (and 
rm leftovers) and reinstall from scratch when I have to.

Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell

More information about the freebsd-ports mailing list