mingw-w64-*: remove PATH change in do_install().
This commit is contained in:
parent
84eb230682
commit
1b93b93b93
|
@ -55,12 +55,6 @@ do_build()
|
||||||
|
|
||||||
do_install()
|
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 && \
|
cd ${wrksrc}/../$_shortname-v$_majversion-$_snapshot/$pkgname && \
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
export PATH=$SAVEDPATH
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,15 +80,9 @@ do_build()
|
||||||
|
|
||||||
do_install()
|
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 && \
|
cd ${wrksrc}/../mingw-w64-gcc-${version}-build && \
|
||||||
make DESTDIR=${DESTDIR} ${makejobs} install-gcc
|
make DESTDIR=${DESTDIR} ${makejobs} install-gcc
|
||||||
|
|
||||||
export PATH=$SAVEDPATH
|
|
||||||
|
|
||||||
# Remove useless manpages
|
# Remove useless manpages
|
||||||
rm -rf ${DESTDIR}/${_mingwprefix}/share
|
rm -rf ${DESTDIR}/${_mingwprefix}/share
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue