summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-12-21 16:12:48 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-12-21 16:12:48 +0000
commitb9d14d6618a4e441186ee3d1d6dd9b00bc9c228d (patch)
tree73b566f514fd129c1fd3cc56aa7b3cab06295190 /dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
parentfix building with gcc-4.3, bug #251152 (diff)
downloadgentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.tar.gz
gentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.tar.bz2
gentoo-2-b9d14d6618a4e441186ee3d1d6dd9b00bc9c228d.zip
Restrict strip wrt bug #251891. Fix quoting.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild')
-rw-r--r--dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
index bc90415c84d9..3a7c3a3aab16 100644
--- a/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
+++ b/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild,v 1.2 2007/12/16 22:02:26 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/blackdown-jdk/blackdown-jdk-1.4.2.03-r16.ebuild,v 1.3 2008/12/21 16:12:48 serkan Exp $
JAVA_SUPPORTS_GENERATION_1="true"
inherit java-vm-2 versionator pax-utils
@@ -41,6 +41,8 @@ JAVA_PROVIDE="jdbc-stdext"
S="${WORKDIR}/j2sdk${JV}"
+RESTRICT="strip"
+
# Extract the 'skip' value (offset of tarball) we should pass to tail
get_offset() {
[ ! -f "$1" ] && return
@@ -63,7 +65,7 @@ src_unpack() {
fi
echo ">>> Unpacking ${A}..."
- tail -n +${offset} ${DISTDIR}/${A} | tar --no-same-owner -jxpf - || die
+ tail -n +${offset} "${DISTDIR}"/${A} | tar --no-same-owner -jxpf - || die
}
unpack_jars() {