diff options
author | Graeme Gregory <dp@xora.org.uk> | 2006-10-10 08:07:09 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2006-10-10 08:07:09 +0000 |
commit | d33738e8090ef3c603c826f7c23647844e03f8fc (patch) | |
tree | f91c9c505b86fc1937b0e4d87d7b27a14387d027 /packages | |
parent | a50a980691e21069de9cf7afcbbff00056be6a86 (diff) |
mplayer_1.0pre8.bb : use some sed to clean/change the configure script
for cross compile. This should stop it picking up spurios /usr/* stuff.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/mplayer/mplayer_1.0pre8.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer_1.0pre8.bb b/packages/mplayer/mplayer_1.0pre8.bb index c434525701..d0a23cc9fd 100644 --- 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} } |