diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-11-02 17:34:38 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-11-02 17:46:48 -0500 |
commit | ccdd6dd94b72eea61d1e18d9908acae064f9ae7b (patch) | |
tree | dc6481e02ac03cb4871590c2d63f2075429c2b8b /media-gfx | |
parent | media-gfx/sane-backends: drop old emul-linux-x86 logic (diff) | |
download | gentoo-ccdd6dd94b72eea61d1e18d9908acae064f9ae7b.tar.gz gentoo-ccdd6dd94b72eea61d1e18d9908acae064f9ae7b.tar.bz2 gentoo-ccdd6dd94b72eea61d1e18d9908acae064f9ae7b.zip |
media-gfx/sane-backends: rework html testdata version update logic
This should make the code work across multiple versions (including the
current live git which is broken).
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sane-backends/sane-backends-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/sane-backends-9999.ebuild b/media-gfx/sane-backends/sane-backends-9999.ebuild index 91e7272ce9cd..b636bf116f0b 100644 --- a/media-gfx/sane-backends/sane-backends-9999.ebuild +++ b/media-gfx/sane-backends/sane-backends-9999.ebuild @@ -192,6 +192,12 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-1.0.24-saned_pidfile_location.patch mv configure.{in,ac} || die AT_NOELIBTOOLIZE=yes eautoreconf + + # Fix for "make check". Upstream sometimes forgets to update this. + local ver=$(./configure --version | awk '{print $NF; exit 0}') + sed -i \ + -e "/by sane-desc 3.5 from sane-backends/s:sane-backends .*:sane-backends ${ver}:" \ + testsuite/tools/data/html* || die } src_configure() { |