pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/p5-libwww As Darwin can be installed on a case-sen...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9196708d808a
branches: trunk
changeset: 535651:9196708d808a
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Sat Nov 24 16:17:46 2007 +0000
description:
As Darwin can be installed on a case-sensitive file system don't assume
that just because the OS is Darwin we don't want aliases.
This adds an options.mk so that if users want to they can install the
aliases on Darwin.
No change in the defaults
diffstat:
www/p5-libwww/Makefile | 9 ++++-----
www/p5-libwww/distinfo | 4 ++--
www/p5-libwww/patches/patch-aa | 4 ++--
3 files changed, 8 insertions(+), 9 deletions(-)
diffs (56 lines):
diff -r c79483eb0729 -r 9196708d808a www/p5-libwww/Makefile
--- a/www/p5-libwww/Makefile Sat Nov 24 00:47:58 2007 +0000
+++ b/www/p5-libwww/Makefile Sat Nov 24 16:17:46 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2007/11/23 08:46:32 tron Exp $
+# $NetBSD: Makefile,v 1.55 2007/11/24 16:17:46 adrianp Exp $
DISTNAME= libwww-perl-5.808
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
@@ -24,13 +24,12 @@
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
PERL5_PACKLIST= auto/LWP/.packlist
-MAKE_ENV+= OPSYS=${OPSYS:Q} PERL_MM_USE_DEFAULT=1
+MAKE_ENV+= INSTALL_ALIASES=${ALIASES} PERL_MM_USE_DEFAULT=1
.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
-.if ${OPSYS} == "Darwin"
-# Mac OS X uses an case-insensitive filesystem where "HEAD" can be
-# confused with "head".
+.if ${ALIASES} == "no"
post-install:
${RM} -f ${PREFIX}/bin/HEAD
.endif
diff -r c79483eb0729 -r 9196708d808a www/p5-libwww/distinfo
--- a/www/p5-libwww/distinfo Sat Nov 24 00:47:58 2007 +0000
+++ b/www/p5-libwww/distinfo Sat Nov 24 16:17:46 2007 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2007/11/23 08:46:32 tron Exp $
+$NetBSD: distinfo,v 1.19 2007/11/24 16:17:46 adrianp 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) = 2dddc75cecaea37ffed94ded0760289775c6ee80
+SHA1 (patch-aa) = f0fdaf60af8c16a6b362024f38db956211fce175
diff -r c79483eb0729 -r 9196708d808a www/p5-libwww/patches/patch-aa
--- a/www/p5-libwww/patches/patch-aa Sat Nov 24 00:47:58 2007 +0000
+++ b/www/p5-libwww/patches/patch-aa Sat Nov 24 16:17:46 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2007/11/23 08:46:32 tron Exp $
+$NetBSD: patch-aa,v 1.5 2007/11/24 16:17:47 adrianp Exp $
--- Makefile.PL.orig 2007-07-19 21:45:32.000000000 +0100
+++ Makefile.PL 2007-11-23 08:42:49.000000000 +0000
@@ -30,7 +30,7 @@
for my $alias (@request_aliases) {
- my $default = "n";
+ my $default = "y";
-+ if ($ENV{"OPSYS"} eq "Darwin") {
++ if ($ENV{"INSTALL_ALIASES"} eq "no") {
+ $default = "n";
+ }
if (prompt("Do you want to install the $alias alias?", $default) =~ /^y/) {
Home |
Main Index |
Thread Index |
Old Index