pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Set HOME in the extract environment to prevent cr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a71ba136834c
branches: trunk
changeset: 519756:a71ba136834c
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Oct 09 07:24:06 2006 +0000
description:
Set HOME in the extract environment to prevent creation
of ${HOME}/.mailcap and resulting breakage of it is
not writeable.
diffstat:
lang/sun-jre14/Makefile.common | 4 +++-
lang/sun-jre15/Makefile.common | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r e06e394dfd08 -r a71ba136834c lang/sun-jre14/Makefile.common
--- a/lang/sun-jre14/Makefile.common Mon Oct 09 07:02:55 2006 +0000
+++ b/lang/sun-jre14/Makefile.common Mon Oct 09 07:24:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2006/07/20 06:52:16 wiz Exp $
+# $NetBSD: Makefile.common,v 1.32 2006/10/09 07:24:06 joerg Exp $
CATEGORIES= lang java
EXTRACT_SUFX= .bin
@@ -53,6 +53,8 @@
"license, then choose 'Linux self-extracting file'." \
${END_MESSAGE}
+EXTRACT_ENV+= HOME=${WRKDIR}/fake_home
+
.if !empty(PKG_OPTIONS:Msun-jre-jce)
END_MESSAGE= \
"" \
diff -r e06e394dfd08 -r a71ba136834c lang/sun-jre15/Makefile.common
--- a/lang/sun-jre15/Makefile.common Mon Oct 09 07:02:55 2006 +0000
+++ b/lang/sun-jre15/Makefile.common Mon Oct 09 07:24:06 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2006/06/08 21:21:21 rillig Exp $
+# $NetBSD: Makefile.common,v 1.14 2006/10/09 07:24:06 joerg Exp $
CATEGORIES= lang java
COMMENT= Sun's Java(tm) 2 Standard Edition, ${DOWNLOAD_NAME}
@@ -27,6 +27,8 @@
MESSAGE_SUBST+= JAVA_HOME=${JAVA_HOME:Q}
+EXTRACT_ENV+= HOME=${WRKDIR}/fake_home
+
# the following forces compression of jarfiles, which is a huge disk
# space win and trivial to no speed reduction in the face of the
# new class sharing in J2SE 5.0... -tvierling
Home |
Main Index |
Thread Index |
Old Index