diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile index 81669781e555..3ae39f47518d 100644 --- a/www/p5-libwww/Makefile +++ b/www/p5-libwww/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.53 2007/11/07 09:45:00 heinz Exp $ +# $NetBSD: Makefile,v 1.54 2007/11/23 08:46:32 tron Exp $ DISTNAME= libwww-perl-5.808 PKGNAME= p5-${DISTNAME:S/-perl-/-/} SVR4_PKGNAME= p5lww -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/} @@ -24,7 +24,16 @@ DEPENDS+= p5-URI>=1.10:../../www/p5-URI DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5 PERL5_PACKLIST= auto/LWP/.packlist -MAKE_ENV+= PERL_MM_USE_DEFAULT=1 +MAKE_ENV+= OPSYS=${OPSYS:Q} PERL_MM_USE_DEFAULT=1 + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +# Mac OS X uses an case-insensitive filesystem where "HEAD" can be +# confused with "head". +post-install: + ${RM} -f ${PREFIX}/bin/HEAD +.endif .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/p5-libwww/distinfo b/www/p5-libwww/distinfo index 1bdde06fc808..2b86f58da9dc 100644 --- a/www/p5-libwww/distinfo +++ b/www/p5-libwww/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.17 2007/11/07 09:45:00 heinz Exp $ +$NetBSD: distinfo,v 1.18 2007/11/23 08:46:32 tron Exp $ SHA1 (libwww-perl-5.808.tar.gz) = 9eeb0a88a4f08006ba4a798effd74b139867f3ab RMD160 (libwww-perl-5.808.tar.gz) = 4ccc1c06cde162cc2a43e14554c9d4ad7103e51a Size (libwww-perl-5.808.tar.gz) = 240305 bytes -SHA1 (patch-aa) = 111a05ad721ee094aaf555535768e6b0e16cad0a +SHA1 (patch-aa) = 2dddc75cecaea37ffed94ded0760289775c6ee80 diff --git a/www/p5-libwww/patches/patch-aa b/www/p5-libwww/patches/patch-aa index de1e6b66359e..8ea37ae6809e 100644 --- a/www/p5-libwww/patches/patch-aa +++ b/www/p5-libwww/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.3 2007/11/07 09:45:01 heinz Exp $ +$NetBSD: patch-aa,v 1.4 2007/11/23 08:46:32 tron Exp $ ---- Makefile.PL.orig 2007-07-19 22:45:32.000000000 +0200 -+++ Makefile.PL -@@ -56,13 +56,16 @@ my $some_time_ago = sprintf "%04d-%02d-% +--- Makefile.PL.orig 2007-07-19 21:45:32.000000000 +0100 ++++ Makefile.PL 2007-11-23 08:42:49.000000000 +0000 +@@ -56,13 +56,16 @@ sub { ($_[5]+1900, $_[4]+1, $_[3])}->(localtime(time - 45 * 24*60*60)); if ($some_time_ago lt $release_date) { # Check if we have internet connection @@ -24,12 +24,15 @@ $NetBSD: patch-aa,v 1.3 2007/11/07 09:45:01 heinz Exp $ print <