mingw-w64-*: remove PATH change in do_install().
This commit is contained in:
parent
84eb230682
commit
1b93b93b93
2 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue