summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/openocd/openocd-0.7.0-r1.ebuild')
-rw-r--r--dev-embedded/openocd/openocd-0.7.0-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-embedded/openocd/openocd-0.7.0-r1.ebuild b/dev-embedded/openocd/openocd-0.7.0-r1.ebuild
index 1f05725d1e6c..b300c69bc8ce 100644
--- a/dev-embedded/openocd/openocd-0.7.0-r1.ebuild
+++ b/dev-embedded/openocd/openocd-0.7.0-r1.ebuild
@@ -30,7 +30,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 )"
@@ -49,7 +49,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 \