git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a50a980
)
mplayer_1.0pre8.bb : use some sed to clean/change the configure script
author
Graeme Gregory
<dp@xora.org.uk>
Tue, 10 Oct 2006 08:07:09 +0000
(08:07 +0000)
committer
Graeme Gregory
<dp@xora.org.uk>
Tue, 10 Oct 2006 08:07:09 +0000
(08:07 +0000)
for cross compile. This should stop it picking up spurios /usr/* stuff.
packages/mplayer/mplayer_1.0pre8.bb
patch
|
blob
|
history
diff --git
a/packages/mplayer/mplayer_1.0pre8.bb
b/packages/mplayer/mplayer_1.0pre8.bb
index
c434525
..
d0a23cc
100644
(file)
--- a/
packages/mplayer/mplayer_1.0pre8.bb
+++ b/
packages/mplayer/mplayer_1.0pre8.bb
@@
-173,6
+173,12
@@
do_configure() {
cp ${WORKDIR}/vo_w100.c ${S}/libvo
cp ${WORKDIR}/vo_w100_api.h ${S}/libvo
cp ${WORKDIR}/vo_w100_fb.h ${S}/libvo
+
+ sed -i 's|/usr/include|${STAGING_INCDIR}|g' ${S}/configure
+ sed -i 's|/usr/lib|${STAGING_LIBDIR}|g' ${S}/configure
+ sed -i 's|/usr/\S*include[\w/]*||g' ${S}/configure
+ sed -i 's|/usr/\S*lib[\w/]*||g' ${S}/configure
+
./configure ${EXTRA_OECONF}
}