summaryrefslogtreecommitdiff
path: root/www/p5-libwww/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-11-24 16:17:46 +0000
committeradrianp <adrianp>2007-11-24 16:17:46 +0000
commite9271c503e487086280ab6d9d55b54c3e72edde4 (patch)
tree050b26d847735ba312e4ce8c0905fcb037e20468 /www/p5-libwww/Makefile
parentbffb6bbb0611a03d1043f399a32d9aa13f94c1ea (diff)
downloadpkgsrc-e9271c503e487086280ab6d9d55b54c3e72edde4.tar.gz
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 (limited to 'www/p5-libwww/Makefile')
-rw-r--r--www/p5-libwww/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile
index 3ae39f47518..a0bf24dc7fd 100644
--- a/www/p5-libwww/Makefile
+++ b/www/p5-libwww/Makefile
@@ -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-URI>=1.10:../../www/p5-URI
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