summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/openocd/openocd-0.6.1.ebuild')
-rw-r--r--dev-embedded/openocd/openocd-0.6.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-embedded/openocd/openocd-0.6.1.ebuild b/dev-embedded/openocd/openocd-0.6.1.ebuild
index f1b389854be2..4b08ad2044c7 100644
--- a/dev-embedded/openocd/openocd-0.6.1.ebuild
+++ b/dev-embedded/openocd/openocd-0.6.1.ebuild
@@ -27,7 +27,7 @@ DEPEND=">=dev-lang/jimtcl-0.73
usb? ( virtual/libusb:0 )
presto? ( dev-embedded/libftd2xx )
ftd2xx? ( dev-embedded/libftd2xx )
- ftdi? ( dev-embedded/libftdi:0 )"
+ ftdi? ( dev-embedded/libftdi )"
RDEPEND="${DEPEND}"
REQUIRED_USE="blaster? ( || ( ftdi ftd2xx ) ) ftdi? ( !ftd2xx )"
@@ -44,7 +44,7 @@ src_prepare() {
configure || die
if use ftdi ; then
- local pc="libftdi$(has_version '=dev-embedded/libftdi-1*' && echo 1)"
+ local pc="libftdi$(has_version dev-embedded/libftdi:1 && echo 1)"
# Use libftdi-1 paths #460916
local libs=$($(tc-getPKG_CONFIG) --libs ${pc})
sed -i \