From e363662b717798775ee9c045af38c6cbfd6da7a2 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 1 Jan 2012 18:27:53 +0000 Subject: [PATCH] Fix bashism in configure script causing build-failure when using non-bash CONFIG_SHELL. Package-Manager: portage-2.2.01.20048-prefix/cvs/Darwin i386 --- dev-libs/libusb/ChangeLog | 8 ++++++-- dev-libs/libusb/Manifest | 14 ++++++++++++-- dev-libs/libusb/libusb-1.0.8.ebuild | 9 +++++++-- 3 files changed, 25 insertions(+), 6 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 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/Manifest b/dev-libs/libusb/Manifest index 6074f5df9a20..432878a2af57 100644 --- a/dev-libs/libusb/Manifest +++ b/dev-libs/libusb/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 0.1.12-fbsd.patch 2477 RMD160 aa92a57100c98cf1ef900d1f27685a33a9c3fc91 SHA1 75dbab5891a5753463661806e89263f13e8653b3 SHA256 21ef0d24c6f64d5aaa50e358a342071d120154425d7d034c1f4efae9f8efc24d AUX libusb-0.1-ansi.patch 4599 RMD160 9aa540748c939f43da218982a7a7067c33834b9f SHA1 d383ffde3baeaa78a2c148dee69777cf5c61102c SHA256 237920768d4bd84189159e488b0c5c1ecb0e4abea82b1a316b16dacb1016698b AUX libusb-0.1.12-no-infinite-bulk.patch 807 RMD160 bba6194bb6cc9c0008791684c325c599ea6a2415 SHA1 92b97b247baa0e548f1909addf69bb159534a991 SHA256 141b8a6f6e4cef3b9e08377cb1d79cb9398f2437894d368d0eca8f1c07848db7 @@ -7,6 +10,13 @@ DIST libusb-1.0.8.tar.bz2 331820 RMD160 5a413a77e240a15480ef1437d5f5393badbae985 EBUILD libusb-0.1.12-r5.ebuild 1409 RMD160 18df722d7db7447be2bcbc65c7ce2d050daff3f0 SHA1 eb8df7da42983142e98d84880ced5eac54c0867d SHA256 f8f800f7d6919261b06eeab74b6434e736f4d393fe55f4aa7b9abdbb1721c6e0 EBUILD libusb-0.1.12-r6.ebuild 1472 RMD160 0224b466e7eab6a9c0c56048127b30c3ee7cd604 SHA1 e0f7e01b0338815c70422adc75aa9c3ae871f608 SHA256 5d81d4f0fe0470a53c14a034a4f8211f567bd3515de631e726a4220fea251087 EBUILD libusb-0.1.12-r7.ebuild 1548 RMD160 51a2312908fb3a083f05ae267dc8568e63d21797 SHA1 44a71f211380055f25307d8f862e27e71aef85a3 SHA256 8ee96f874c25faa440ea3665c30357045753adb4d0aaf59ea5a5030429a48a73 -EBUILD libusb-1.0.8.ebuild 1083 RMD160 5fe5b98c76f9b721369a162fc26af411ac6073c0 SHA1 73b393275c1dfa1a25446a167f12b79583dcd376 SHA256 9ef0e1dfcfe44de8825b6a8fb91f48ab7abbaa3b447ec3292c267ccb1072015f -MISC ChangeLog 15886 RMD160 83dea141a141352d096a67734135f27548ebca8c SHA1 6bc7bd314639be4275a52555b6e632af1fe2a331 SHA256 a6db8ab5c4c031c0dc142cd46b43b3825b7d1399a2e4b3ca0a4488bc48daf6c9 +EBUILD libusb-1.0.8.ebuild 1193 RMD160 d013e99bf02b80fcab353dda16798bd488e0291c SHA1 6de7df7523505273599106e2f3daa5defe1365b6 SHA256 bafd249455748255a78d639a27e7178ad890bfb89e9a57852141dab2be944b7a +MISC ChangeLog 16051 RMD160 72cce2970f9a42c39fd473811a993b14c468fbb3 SHA1 2b64fba420983505ec0b797e87351448d146bd0a SHA256 62879cd3c5e72da0d2bb3cc171a85fa30cb506013854ebddd1253b4180f35b38 MISC metadata.xml 204 RMD160 c8357c2cfd2ae4415ccd01ab839a3a4260fd8367 SHA1 7e046a19d6d3ac8caa658059c5c268630d1e99df SHA256 f3aeb60df346d19b4d43cea2b2916d51674d99dabfce252723548687909cbd6b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (Darwin) + +iEYEARECAAYFAk8Apa4ACgkQX3X2B8XHTom04gCcD+IWTNox+v1VtW+MB/3XFDaA +TekAn3F0Nv1CcZLvPuSPalYw5bMrwrCv +=81Jn +-----END PGP SIGNATURE----- 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) \ -- 2.26.2