diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-22 11:48:01 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-22 11:48:01 +0000 |
commit | 9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07 (patch) | |
tree | 61ba8b703f8cc77ca90d46fa88d3f3860f218a04 /meta/packages/cdrtools | |
parent | dc2a13090907194a9c4e9f61e3fa5b7d7f13a57b (diff) | |
download | poky-9b6a24b65d840d8b207a9dfdc69e61b0c5c9ef07.tar.gz |
cdrtools-native: Don't look for headers in /usr/src/linux, that would be crazy
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5204 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/cdrtools')
-rw-r--r-- | meta/packages/cdrtools/cdrtools-native/no_usr_src.patch | 26 | ||||
-rw-r--r-- | meta/packages/cdrtools/cdrtools-native_2.01.bb | 4 |
2 files changed, 29 insertions, 1 deletions
diff --git a/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch b/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch new file mode 100644 index 0000000000..0318d31a6d --- /dev/null +++ b/meta/packages/cdrtools/cdrtools-native/no_usr_src.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Index: cdrtools-2.01/DEFAULTS/Defaults.gnu | ||
2 | =================================================================== | ||
3 | --- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100 | ||
4 | +++ cdrtools-2.01/DEFAULTS/Defaults.gnu 2008-09-22 12:42:27.000000000 +0100 | ||
5 | @@ -18,7 +18,7 @@ | ||
6 | ########################################################################### | ||
7 | CWARNOPTS= | ||
8 | |||
9 | -DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include | ||
10 | +DEFINCDIRS= $(SRCROOT)/include | ||
11 | LDPATH= -L/opt/schily/lib | ||
12 | RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) | ||
13 | |||
14 | Index: cdrtools-2.01/DEFAULTS/Defaults.linux | ||
15 | =================================================================== | ||
16 | --- cdrtools-2.01.orig/DEFAULTS/Defaults.linux 2008-09-22 12:42:08.000000000 +0100 | ||
17 | +++ cdrtools-2.01/DEFAULTS/Defaults.linux 2008-09-22 12:42:37.000000000 +0100 | ||
18 | @@ -18,7 +18,7 @@ | ||
19 | ########################################################################### | ||
20 | CWARNOPTS= | ||
21 | |||
22 | -DEFINCDIRS= $(SRCROOT)/include /usr/src/linux/include | ||
23 | +DEFINCDIRS= $(SRCROOT)/include | ||
24 | LDPATH= -L/opt/schily/lib | ||
25 | RUNPATH= -R $(INS_BASE)/lib -R /opt/schily/lib -R $(OLIBSDIR) | ||
26 | |||
diff --git a/meta/packages/cdrtools/cdrtools-native_2.01.bb b/meta/packages/cdrtools/cdrtools-native_2.01.bb index 9b148517d2..be99bea862 100644 --- a/meta/packages/cdrtools/cdrtools-native_2.01.bb +++ b/meta/packages/cdrtools/cdrtools-native_2.01.bb | |||
@@ -5,8 +5,10 @@ | |||
5 | LICENSE="GPL" | 5 | LICENSE="GPL" |
6 | DESCRIPTION="A set of tools for CD recording, including cdrecord" | 6 | DESCRIPTION="A set of tools for CD recording, including cdrecord" |
7 | HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" | 7 | HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" |
8 | PR = "r1" | ||
8 | 9 | ||
9 | SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2" | 10 | SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ |
11 | file://no_usr_src.patch;patch=1" | ||
10 | 12 | ||
11 | S="${WORKDIR}/cdrtools-${PV}" | 13 | S="${WORKDIR}/cdrtools-${PV}" |
12 | 14 | ||