summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/automake-wrapper')
-rw-r--r--sys-devel/automake-wrapper/ChangeLog7
-rw-r--r--sys-devel/automake-wrapper/automake-wrapper-5.ebuild12
2 files changed, 16 insertions, 3 deletions
diff --git a/sys-devel/automake-wrapper/ChangeLog b/sys-devel/automake-wrapper/ChangeLog
index 60b8841e845a..9057f45f4883 100644
--- a/sys-devel/automake-wrapper/ChangeLog
+++ b/sys-devel/automake-wrapper/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/automake-wrapper
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/ChangeLog,v 1.44 2010/04/18 12:36:13 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/ChangeLog,v 1.45 2010/04/30 17:16:47 grobian Exp $
+
+ 30 Apr 2010; Fabian Groffen <grobian@gentoo.org>
+ automake-wrapper-5.ebuild:
+ Change shebang of am-wrapper script from /bin/sh to bin/sh from the offset
+ for Prefix installs, since /bin/sh rarely is a POSIX shell out there.
18 Apr 2010; <nixnut@gentoo.org> automake-wrapper-4.ebuild:
ppc stable #295947
diff --git a/sys-devel/automake-wrapper/automake-wrapper-5.ebuild b/sys-devel/automake-wrapper/automake-wrapper-5.ebuild
index ac1221fd2c98..6818ff46752f 100644
--- a/sys-devel/automake-wrapper/automake-wrapper-5.ebuild
+++ b/sys-devel/automake-wrapper/automake-wrapper-5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-5.ebuild,v 1.1 2010/03/07 15:45:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/automake-wrapper-5.ebuild,v 1.2 2010/04/30 17:16:47 grobian Exp $
inherit multilib
@@ -15,9 +15,17 @@ IUSE=""
S=${WORKDIR}
+src_unpack() {
+ cp "${FILESDIR}"/am-wrapper-${PV}.sh "${T}"/
+ # usr/bin/aclocal: bad substitution -> /bin/sh != POSIX shell
+ if use prefix ; then
+ sed -i -e '1c\#!'"${EPREFIX}"'/bin/sh' "${T}"/am-wrapper-${PV}.sh || die
+ fi
+}
+
src_install() {
exeinto /usr/$(get_libdir)/misc
- newexe "${FILESDIR}"/am-wrapper-${PV}.sh am-wrapper.sh || die
+ newexe "${T}"/am-wrapper-${PV}.sh am-wrapper.sh || die
keepdir /usr/share/aclocal