Multiarch_wrapper darf natürlich nur bei 64Bit builds
zum Einsatz kommen! git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4588 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
e321535f47
commit
f27e16759a
@ -126,11 +126,12 @@ mk() {
|
||||
}
|
||||
|
||||
postmk() {
|
||||
mv -v $TMPROOT/usr/include/gmp{,-64}.h
|
||||
mkdir -p $TMPROOT/usr/share
|
||||
mv $TMPROOT/usr/info $TMPROOT/usr/share/info
|
||||
cd ../gmp*
|
||||
rm -r ../build-gmp
|
||||
if [ $MK64BIT == "true" ]; then
|
||||
mv -v $TMPROOT/usr/include/gmp{,-64}.h
|
||||
cat > /usr/include/gmp.h << "EOF"
|
||||
/* gmp.h - Stub Header */
|
||||
#ifndef __STUB__GMP_H__
|
||||
@ -146,4 +147,5 @@ postmk() {
|
||||
|
||||
#endif /* __STUB__GMP_H__ */
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
@ -99,8 +99,10 @@ mk() {
|
||||
--cache-file=config.cache
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
if [ $MK64BIT == "true" ]; then
|
||||
mv $TMPROOT/usr/bin/libtool{,-64}
|
||||
ln -s multiarch_wrapper /usr/bin/libtool
|
||||
fi
|
||||
}
|
||||
|
||||
postmk() {
|
||||
|
@ -115,10 +115,12 @@ mk() {
|
||||
make
|
||||
make install
|
||||
make DESTDIR=$TMPROOT install
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
mv -v /usr/bin/ncursesw5-config{,-64}
|
||||
ln -svf multiarch_wrapper /usr/bin/ncursesw5-config
|
||||
mv -v $TMPROOT/usr/bin/ncursesw5-config{,-64}
|
||||
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ncursesw5-config
|
||||
fi
|
||||
}
|
||||
|
||||
postmk() {
|
||||
|
Loading…
Reference in New Issue
Block a user