mingw-w64-*: remove PATH change in do_install().

This commit is contained in:
davehome 2011-07-18 17:48:16 -06:00
parent 84eb230682
commit 1b93b93b93
2 changed files with 0 additions and 12 deletions

View file

@ -55,12 +55,6 @@ do_build()
do_install()
{
unset LD_LIBRARY_PATH LDLIBPATH LDFLAGS CPPFLAGS
local SAVEDPATH=$PATH
export PATH="/opt/bin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin"
cd ${wrksrc}/../$_shortname-v$_majversion-$_snapshot/$pkgname && \
make DESTDIR=${DESTDIR} install
export PATH=$SAVEDPATH
}

View file

@ -80,15 +80,9 @@ do_build()
do_install()
{
unset LD_LIBRARY_PATH LDLIBPATH LDFLAGS CPPFLAGS
local SAVEDPATH=$PATH
export PATH="/opt/bin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin"
cd ${wrksrc}/../mingw-w64-gcc-${version}-build && \
make DESTDIR=${DESTDIR} ${makejobs} install-gcc
export PATH=$SAVEDPATH
# Remove useless manpages
rm -rf ${DESTDIR}/${_mingwprefix}/share
}