From d33738e8090ef3c603c826f7c23647844e03f8fc Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Tue, 10 Oct 2006 08:07:09 +0000 Subject: 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. --- packages/mplayer/mplayer_1.0pre8.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages') 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} } -- cgit v1.2.3