summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2012-01-01 18:27:53 +0000
committerFabian Groffen <grobian@gentoo.org>2012-01-01 18:27:53 +0000
commit3b79bbdb345014a98373435a3e6f46ca619f856d (patch)
treee3d871ab02fa3a01888b30939eb411d8d73b719a /dev-libs/libusb
parentalpha/ia64/x86 stable wrt ##395981 (diff)
downloadgentoo-2-3b79bbdb345014a98373435a3e6f46ca619f856d.tar.gz
gentoo-2-3b79bbdb345014a98373435a3e6f46ca619f856d.tar.bz2
gentoo-2-3b79bbdb345014a98373435a3e6f46ca619f856d.zip
Fix bashism in configure script causing build-failure when using non-bash CONFIG_SHELL.
(Portage version: 2.2.01.20048-prefix/cvs/Darwin i386)
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r--dev-libs/libusb/ChangeLog8
-rw-r--r--dev-libs/libusb/libusb-1.0.8.ebuild9
2 files changed, 13 insertions, 4 deletions
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 <grobian@gentoo.org> 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 <robbat2@gentoo.org> 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) \