summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-04-02 14:16:24 -0500
committerTim Harder <radhermit@gentoo.org>2019-04-02 14:16:24 -0500
commit6c561663751de7275cc4e9dcb4650ef84fca99da (patch)
tree676464d0b6d6633464404d3a30ccbbc1a423a27a /media-gfx/sxiv
parentmedia-libs/exiftool: version bump to 11.33 (diff)
downloadgentoo-6c561663751de7275cc4e9dcb4650ef84fca99da.tar.gz
gentoo-6c561663751de7275cc4e9dcb4650ef84fca99da.tar.bz2
gentoo-6c561663751de7275cc4e9dcb4650ef84fca99da.zip
media-gfx/sxiv: don't try to rebuild sxiv during install phase
Closes: https://bugs.gentoo.org/677684 Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-gfx/sxiv')
-rw-r--r--media-gfx/sxiv/files/sxiv-25-makefile.patch13
-rw-r--r--media-gfx/sxiv/sxiv-25.ebuild2
2 files changed, 15 insertions, 0 deletions
diff --git a/media-gfx/sxiv/files/sxiv-25-makefile.patch b/media-gfx/sxiv/files/sxiv-25-makefile.patch
new file mode 100644
index 000000000000..01a8ddf2c19a
--- /dev/null
+++ b/media-gfx/sxiv/files/sxiv-25-makefile.patch
@@ -0,0 +1,13 @@
+Don't try to rebuild sxiv during install.
+
+--- sxiv-25/Makefile
++++ sxiv-25/Makefile
+@@ -62,7 +62,7 @@
+ clean:
+ rm -f *.o sxiv
+
+-install: all
++install:
+ @echo "INSTALL bin/sxiv"
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ cp sxiv $(DESTDIR)$(PREFIX)/bin/
diff --git a/media-gfx/sxiv/sxiv-25.ebuild b/media-gfx/sxiv/sxiv-25.ebuild
index 3b3917053a8f..d1cdfacac94a 100644
--- a/media-gfx/sxiv/sxiv-25.ebuild
+++ b/media-gfx/sxiv/sxiv-25.ebuild
@@ -29,6 +29,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
src_prepare() {
restore_config config.h
default