diff options
Diffstat (limited to 'dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild')
-rw-r--r-- | dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild index ab135ef752c1..3aba7dc20ca3 100644 --- a/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild +++ b/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild,v 1.8 2012/06/17 18:23:10 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.4.ebuild,v 1.9 2012/07/01 17:57:12 ssuominen Exp $ EAPI=4 inherit eutils @@ -23,6 +23,9 @@ DOCS="AUTHORS ChangeLog NEWS README" src_prepare() { epatch "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch + + has_version dev-libs/libusbx && \ + epatch "${FILESDIR}"/${PN/-compat}-0.1-libusbx.patch } src_configure() { |