summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-17 23:16:01 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-17 23:16:01 +0000
commit3f0dfa4462fafdd5a48d8ea885ec142b6d09af89 (patch)
tree01f7c14bc7e59f0af7826ffa1fb88a6d674a1a58 /app-text/pdftk
parentAdd the java herd to metadata and remove virtual/libc dependency. (diff)
downloadgentoo-2-3f0dfa4462fafdd5a48d8ea885ec142b6d09af89.tar.gz
gentoo-2-3f0dfa4462fafdd5a48d8ea885ec142b6d09af89.tar.bz2
gentoo-2-3f0dfa4462fafdd5a48d8ea885ec142b6d09af89.zip
Use type -P instead of which. Fixes bug #174176.
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/ChangeLog5
-rw-r--r--app-text/pdftk/pdftk-1.12.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/app-text/pdftk/ChangeLog b/app-text/pdftk/ChangeLog
index 39348b0a171e..556b23b6af91 100644
--- a/app-text/pdftk/ChangeLog
+++ b/app-text/pdftk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/pdftk
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.22 2007/04/17 23:12:53 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/ChangeLog,v 1.23 2007/04/17 23:16:01 betelgeuse Exp $
+
+ 17 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> pdftk-1.12.ebuild:
+ Use type -P instead of which. Fixes bug #174176.
17 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> metadata.xml,
pdftk-1.12.ebuild:
diff --git a/app-text/pdftk/pdftk-1.12.ebuild b/app-text/pdftk/pdftk-1.12.ebuild
index b202d8c5fb80..5735cfc2965e 100644
--- a/app-text/pdftk/pdftk-1.12.ebuild
+++ b/app-text/pdftk/pdftk-1.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.12.ebuild,v 1.12 2007/04/17 23:12:53 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdftk/pdftk-1.12.ebuild,v 1.13 2007/04/17 23:16:01 betelgeuse Exp $
inherit eutils
@@ -16,8 +16,8 @@ DEPEND=">=sys-devel/gcc-3.3"
S=${WORKDIR}/${P}/${PN}
pkg_setup() {
- if [ -z "$(which gcj 2>/dev/null)" ]; then
- eerror "It seems that your system doesn't provides a Java compiler."
+ if [ -z "$(type -P gcj 2>/dev/null)" ]; then
+ eerror 'It seems that gcj is not in ${PATH}.'
eerror "Re-emerge sys-devel/gcc with \"gcj\" enabled."
die "gcj not found."
fi