summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:38:34 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-14 17:38:34 +0100
commitf60aa088b3cd00dcf60e499f789981970f05ed89 (patch)
treee685170610ef7d9537856e191e0e5e7c157d87fe /meta
parentabf39a181a25fe4c77c28d0f20339ce35e37f8eb (diff)
downloadpoky-f60aa088b3cd00dcf60e499f789981970f05ed89.tar.gz
Revert "file: upgrade to version 5.04"
This reverts commit 21d586b47c8c5338913c5e8ca2ee604409cc57a0 as it breaks rpm-native.
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/file/file/native-fix.diff13
-rw-r--r--meta/packages/file/file_4.18.bb (renamed from meta/packages/file/file_5.04.bb)10
2 files changed, 17 insertions, 6 deletions
diff --git a/meta/packages/file/file/native-fix.diff b/meta/packages/file/file/native-fix.diff
new file mode 100644
index 0000000000..d17215a1b4
--- /dev/null
+++ b/meta/packages/file/file/native-fix.diff
@@ -0,0 +1,13 @@
1Index: file-4.16/magic/Makefile.am
2===================================================================
3--- file-4.16.orig/magic/Makefile.am 2005-08-18 17:20:49.000000000 +0200
4+++ file-4.16/magic/Makefile.am 2006-03-08 17:01:13.000000000 +0100
5@@ -18,7 +18,7 @@
6 if IS_CROSS_COMPILE
7 FILE_COMPILE = file
8 else
9-FILE_COMPILE = $(top_builddir)/src/file
10+FILE_COMPILE = ../src/file
11 endif
12
13 magic.mgc: magic
diff --git a/meta/packages/file/file_5.04.bb b/meta/packages/file/file_4.18.bb
index d872be5dfa..4c8e64c308 100644
--- a/meta/packages/file/file_5.04.bb
+++ b/meta/packages/file/file_4.18.bb
@@ -5,23 +5,21 @@ SECTION = "console/utils"
5 5
6# two clause BSD 6# two clause BSD
7LICENSE = "BSD" 7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188"
9 8
10DEPENDS = "zlib file-native" 9DEPENDS = "file-native"
11DEPENDS_virtclass-native = "zlib-native" 10DEPENDS_virtclass-native = ""
12PR = "r0"
13 11
14SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ 12SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
15 file://dump \ 13 file://dump \
16 file://filesystems" 14 file://filesystems"
15SRC_URI_append_virtclass-native = " file://native-fix.diff;patch=1"
17 16
18inherit autotools 17inherit autotools
19 18
20do_configure_prepend() { 19do_configure_prepend() {
20 sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am
21 cp ${WORKDIR}/dump ${S}/magic/Magdir/ 21 cp ${WORKDIR}/dump ${S}/magic/Magdir/
22 cp ${WORKDIR}/filesystems ${S}/magic/Magdir/ 22 cp ${WORKDIR}/filesystems ${S}/magic/Magdir/
23} 23}
24 24
25FILES_${PN} += "${datadir}/misc/*.mgc"
26
27BBCLASSEXTEND = "native" 25BBCLASSEXTEND = "native"