diff options
author | tron <tron> | 2007-11-23 08:46:32 +0000 |
---|---|---|
committer | tron <tron> | 2007-11-23 08:46:32 +0000 |
commit | fa7974613287144b6bdd1ef58affb10a2dec9311 (patch) | |
tree | 61bf8bbe30bd0a634d5f0c9dd01e636ab7ae3b50 /www/p5-libwww/Makefile | |
parent | 26ea1fd9e620fb9399a03a73a8fd411c21e77a7e (diff) | |
download | pkgsrc-fa7974613287144b6bdd1ef58affb10a2dec9311.tar.gz |
Don't install aliases "GET", "HEAD" and "POST" under Mac OS X.
At least "HEAD" causes problems on a case-insensitive filesystem because
it will be confused with "/usr/bin/head". Bump package revision.
Diffstat (limited to 'www/p5-libwww/Makefile')
-rw-r--r-- | www/p5-libwww/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile index 81669781e55..3ae39f47518 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" |