summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2020-07-06 22:24:13 +0200
committerSven Wegener <swegener@gentoo.org>2020-07-06 22:24:47 +0200
commit017c3a6757a237f4780cdbc45666c77e9ad6d2df (patch)
tree6caf397f599f502602163f0ba7ae0505752475f9 /sci-libs
parentmedia-libs/openh264: set mozilla project as primary maintainer (diff)
downloadgentoo-017c3a6757a237f4780cdbc45666c77e9ad6d2df.tar.gz
gentoo-017c3a6757a237f4780cdbc45666c77e9ad6d2df.tar.bz2
gentoo-017c3a6757a237f4780cdbc45666c77e9ad6d2df.zip
sci-libs/libsigrokdecode: Fix src_prepare() for live ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-0.5.3.ebuild3
-rw-r--r--sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild3
2 files changed, 2 insertions, 4 deletions
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3.ebuild
index 6b0e3b267c37..fe9dbe023f88 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-0.5.3.ebuild
@@ -32,14 +32,13 @@ BDEPEND="
src_prepare() {
default
+ [[ ${PV} == *9999* ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
-
- [[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {
diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
index d9212117c961..4ab1fd8f07d5 100644
--- a/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-9999.ebuild
@@ -32,14 +32,13 @@ BDEPEND="
src_prepare() {
default
+ [[ ${PV} == *9999* ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
-
- [[ ${PV} == *9999* ]] && eautoreconf
}
src_configure() {