summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-14 22:49:18 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-14 22:49:18 +0000
commitacd6fc7170d132051dd84efefad3b73b264cfe30 (patch)
treeb09f3e626f03cad540a6fe140028196ce5d9c87c
parentupdating django-openstack-auth (diff)
downloadgentoo-2-acd6fc7170d132051dd84efefad3b73b264cfe30.tar.gz
gentoo-2-acd6fc7170d132051dd84efefad3b73b264cfe30.tar.bz2
gentoo-2-acd6fc7170d132051dd84efefad3b73b264cfe30.zip
Fix building with POSIX /bin/sh.
-rw-r--r--sys-process/lsof/ChangeLog7
-rw-r--r--sys-process/lsof/lsof-4.88.ebuild8
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-process/lsof/ChangeLog b/sys-process/lsof/ChangeLog
index afe182ae8a3a..266a4b34a916 100644
--- a/sys-process/lsof/ChangeLog
+++ b/sys-process/lsof/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/lsof
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.109 2014/12/06 16:38:45 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/ChangeLog,v 1.110 2015/04/14 22:49:18 vapier Exp $
+
+ 14 Apr 2015; Mike Frysinger <vapier@gentoo.org> lsof-4.88.ebuild:
+ Fix building with POSIX /bin/sh.
06 Dec 2014; Agostino Sarubbo <ago@gentoo.org> lsof-4.87-r1.ebuild:
Stable for ia64, wrt bug #529126
diff --git a/sys-process/lsof/lsof-4.88.ebuild b/sys-process/lsof/lsof-4.88.ebuild
index b68a35892c43..87ef2c5032a3 100644
--- a/sys-process/lsof/lsof-4.88.ebuild
+++ b/sys-process/lsof/lsof-4.88.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.88.ebuild,v 1.2 2014/11/21 08:11:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/lsof/lsof-4.88.ebuild,v 1.3 2015/04/14 22:49:18 vapier Exp $
EAPI="4"
@@ -32,6 +32,10 @@ src_unpack() {
src_prepare() {
epatch "${FILESDIR}"/${PN}-4.85-cross.patch #432120
+ # fix POSIX compliance with `echo`
+ sed -i \
+ -e 's:echo -n:printf:' \
+ AFSConfig Configure Customize Inventory tests/CkTestDB || die
# convert `test -r header.h` into a compile test
sed -i -r \
-e 's:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:' \