From 3b79bbdb345014a98373435a3e6f46ca619f856d Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 1 Jan 2012 18:27:53 +0000 Subject: Fix bashism in configure script causing build-failure when using non-bash CONFIG_SHELL. (Portage version: 2.2.01.20048-prefix/cvs/Darwin i386) --- dev-libs/libusb/ChangeLog | 8 ++++++-- dev-libs/libusb/libusb-1.0.8.ebuild | 9 +++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'dev-libs/libusb') diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog index cb83c10c0549..3b7e938eb66e 100644 --- a/dev-libs/libusb/ChangeLog +++ b/dev-libs/libusb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libusb -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.121 2011/12/06 19:33:32 robbat2 Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.122 2012/01/01 18:27:53 grobian Exp $ + + 01 Jan 2012; Fabian Groffen libusb-1.0.8.ebuild: + Fix bashism in configure script causing build-failure when using non-bash + CONFIG_SHELL. 06 Dec 2011; Robin H. Johnson libusb-0.1.12-r5.ebuild, libusb-0.1.12-r6.ebuild, libusb-0.1.12-r7.ebuild: diff --git a/dev-libs/libusb/libusb-1.0.8.ebuild b/dev-libs/libusb/libusb-1.0.8.ebuild index 51b4508d606a..8e53dc90af92 100644 --- a/dev-libs/libusb/libusb-1.0.8.ebuild +++ b/dev-libs/libusb/libusb-1.0.8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.8.ebuild,v 1.11 2011/09/28 13:03:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.8.ebuild,v 1.12 2012/01/01 18:27:53 grobian Exp $ EAPI="2" @@ -15,6 +15,11 @@ IUSE="debug doc static-libs" DEPEND="doc? ( app-doc/doxygen )" RDEPEND="" +src_prepare() { + # fix bashism in configure script + sed -i -e 's/test \(.*\) ==/test \1 =/' configure || die +} + src_configure() { econf \ $(use_enable static-libs static) \ -- cgit v1.2.3-65-gdbad