summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-10-09 07:24:06 +0000
committerjoerg <joerg@pkgsrc.org>2006-10-09 07:24:06 +0000
commit6e95a1c2681e10a8bc32d94b48b47e02e168b583 (patch)
tree8c034baaefd4a2f51c173f1cdaa9e8f9676421c9 /lang
parent1fcd7d68c3b6be0a4e5a7cc1f05478316da02aee (diff)
downloadpkgsrc-6e95a1c2681e10a8bc32d94b48b47e02e168b583.tar.gz
Set HOME in the extract environment to prevent creation
of ${HOME}/.mailcap and resulting breakage of it is not writeable.
Diffstat (limited to 'lang')
-rw-r--r--lang/sun-jre14/Makefile.common4
-rw-r--r--lang/sun-jre15/Makefile.common4
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/sun-jre14/Makefile.common b/lang/sun-jre14/Makefile.common
index 14961df1d43..a135636ba9b 100644
--- a/lang/sun-jre14/Makefile.common
+++ b/lang/sun-jre14/Makefile.common
@@ -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 @@ _FETCH_MESSAGE= \
"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 --git a/lang/sun-jre15/Makefile.common b/lang/sun-jre15/Makefile.common
index b171f4c1f0d..557901bada8 100644
--- a/lang/sun-jre15/Makefile.common
+++ b/lang/sun-jre15/Makefile.common
@@ -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 @@ JAVA_UNLIMIT= datasize
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