mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
cups-filters: fix Makefile race condition
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
45ce727295
commit
304fd6a06e
|
|
@ -0,0 +1,33 @@
|
|||
From 7aba7c690fd84ca1e48d0cb6829410eeb658c594 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Fri, 24 Nov 2023 17:53:49 +0100
|
||||
Subject: [PATCH] Fix a Makefile race condition
|
||||
|
||||
utils/driverless-fax script may be written before utils directory was created
|
||||
|
||||
| make[2]: Entering directory '/home/flk/poky/build/tmp/work/corei7-64-poky-linux/cups-filters/2.0.0/build'
|
||||
| sed \
|
||||
| -e "s|\@CUPS_SERVERBIN\@|/usr/libexec/cups|" \
|
||||
| ../cups-filters-2.0.0/utils/driverless-fax.in > utils/driverless-fax
|
||||
| /bin/bash: line 2: utils/driverless-fax: No such file or directory
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
Makefile.am | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
--- a/Makefile.am 2023-09-22 18:14:03.000000000 +0200
|
||||
+++ b/Makefile.am 2023-11-24 19:09:09.339653936 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
# "driverless" utility
|
||||
# ====================
|
||||
utils/driverless-fax: utils/driverless-fax.in Makefile
|
||||
- sed \
|
||||
+ mkdir -p utils && sed \
|
||||
-e "s|\@CUPS_SERVERBIN\@|$(CUPS_SERVERBIN)|" \
|
||||
$< > $@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07"
|
|||
|
||||
DEPENDS = "libcupsfilters libppd glib-2.0 poppler"
|
||||
|
||||
SRC_URI = "https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz"
|
||||
SRC_URI = " \
|
||||
https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
||||
file://fix-make-race.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8"
|
||||
|
||||
inherit autotools gettext pkgconfig github-releases
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user