summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2008-08-12 20:11:13 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2008-08-12 20:11:13 +0000
commit765a53472716f0ba2cb27396c8f82e9567efc0ff (patch)
tree0606c6e3120d2687339dbefb4fa578a328d93486 /media-gfx/sane-backends/files
parentdevelopment versions of cairo (diff)
downloadgentoo-2-765a53472716f0ba2cb27396c8f82e9567efc0ff.tar.gz
gentoo-2-765a53472716f0ba2cb27396c8f82e9567efc0ff.tar.bz2
gentoo-2-765a53472716f0ba2cb27396c8f82e9567efc0ff.zip
Fix for parallel install jobs, see bug #228937
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx/sane-backends/files')
-rw-r--r--media-gfx/sane-backends/files/parallel-install-1.0.19.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/parallel-install-1.0.19.patch b/media-gfx/sane-backends/files/parallel-install-1.0.19.patch
new file mode 100644
index 000000000000..bc26ef53a389
--- /dev/null
+++ b/media-gfx/sane-backends/files/parallel-install-1.0.19.patch
@@ -0,0 +1,30 @@
+--- backend/Makefile.in 2008-08-12 21:50:12.000000000 +0200
++++ backend/Makefile.in.new 2008-08-12 21:58:24.000000000 +0200
+@@ -234,8 +234,10 @@
+
+ install: $(INSTALL_LOCKPATH) install-be@BE_INSTALL_FLAVOR@ install-libsane install-becfg
+
+-install-be:
++install-paths:
+ $(MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(libsanedir) $(DESTDIR)$(configdir)
++
++install-be: install-paths
+ @# Install all backends in $(prefix)/lib/sane/
+ @list="$(LIBS)"; for be in $$list; do \
+ echo installing $${be} in $(DESTDIR)$(libsanedir)/$${be}...; \
+@@ -267,13 +269,13 @@
+ cp -p .libs/libsane-$${be}.so $(DESTDIR)$(BEOS_ADDONDIR)/$${be} || exit 1; \
+ done
+
+-install-libsane:
++install-libsane: install-paths
+ @echo installing libsane.la in $(DESTDIR)$(libdir)/libsane.la...
+ @$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) libsane.la \
+ $(DESTDIR)$(libdir)/libsane.la >/dev/null
+ @$(LIBTOOL) $(MINST) --finish $(DESTDIR)$(libdir)
+
+-install-becfg:
++install-becfg: install-paths
+ @list="$(CONFIGS)"; for cfg in $$list; do \
+ if test ! -r $${cfg}; then continue; fi; \
+ if test -f $(DESTDIR)$(configdir)/$${cfg}; then \