1 |
vapier 11/11/19 21:10:01 |
2 |
|
3 |
Added: mtd-utils-1.4.8-install.patch |
4 |
Log: |
5 |
Version bump. |
6 |
|
7 |
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mtd-utils-1.4.8-install.patch |
16 |
=================================================================== |
17 |
From c7e4747c1589b2d090361cb753f212a7eec5ca7f Mon Sep 17 00:00:00 2001 |
18 |
From: Mike Frysinger <vapier@g.o> |
19 |
Date: Sat, 19 Nov 2011 15:59:21 -0500 |
20 |
Subject: [PATCH 1/2] Makefile: fix install target with out-of-tree builds |
21 |
|
22 |
The install target always looks for the compiled binaries in the working |
23 |
directory which breaks when doing something like `make CHOST=... install`. |
24 |
|
25 |
Signed-off-by: Mike Frysinger <vapier@g.o> |
26 |
--- |
27 |
Makefile | 4 ++-- |
28 |
1 files changed, 2 insertions(+), 2 deletions(-) |
29 |
|
30 |
diff --git a/Makefile b/Makefile |
31 |
index d0bc3d6..4b71b8f 100644 |
32 |
--- a/Makefile |
33 |
+++ b/Makefile |
34 |
@@ -58,9 +58,9 @@ endif |
35 |
rm -f $(BUILDDIR)/include/version.h |
36 |
$(MAKE) -C $(TESTS) clean |
37 |
|
38 |
-install:: ${BINS} ${SCRIPTS} |
39 |
+install:: $(addprefix $(BUILDDIR)/,${BINS}) ${SCRIPTS} |
40 |
mkdir -p ${DESTDIR}/${SBINDIR} |
41 |
- install -m 0755 ${BINS} ${SCRIPTS} ${DESTDIR}/${SBINDIR}/ |
42 |
+ install -m 0755 $^ ${DESTDIR}/${SBINDIR}/ |
43 |
mkdir -p ${DESTDIR}/${MANDIR}/man1 |
44 |
gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz |
45 |
|
46 |
-- |
47 |
1.7.6.1 |