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,12 +126,13 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mv -v $TMPROOT/usr/include/gmp{,-64}.h
|
|
||||||
mkdir -p $TMPROOT/usr/share
|
mkdir -p $TMPROOT/usr/share
|
||||||
mv $TMPROOT/usr/info $TMPROOT/usr/share/info
|
mv $TMPROOT/usr/info $TMPROOT/usr/share/info
|
||||||
cd ../gmp*
|
cd ../gmp*
|
||||||
rm -r ../build-gmp
|
rm -r ../build-gmp
|
||||||
cat > /usr/include/gmp.h << "EOF"
|
if [ $MK64BIT == "true" ]; then
|
||||||
|
mv -v $TMPROOT/usr/include/gmp{,-64}.h
|
||||||
|
cat > /usr/include/gmp.h << "EOF"
|
||||||
/* gmp.h - Stub Header */
|
/* gmp.h - Stub Header */
|
||||||
#ifndef __STUB__GMP_H__
|
#ifndef __STUB__GMP_H__
|
||||||
#define __STUB__GMP_H__
|
#define __STUB__GMP_H__
|
||||||
@ -146,4 +147,5 @@ postmk() {
|
|||||||
|
|
||||||
#endif /* __STUB__GMP_H__ */
|
#endif /* __STUB__GMP_H__ */
|
||||||
EOF
|
EOF
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
@ -99,8 +99,10 @@ mk() {
|
|||||||
--cache-file=config.cache
|
--cache-file=config.cache
|
||||||
make -j $NUMCPU
|
make -j $NUMCPU
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
mv $TMPROOT/usr/bin/libtool{,-64}
|
if [ $MK64BIT == "true" ]; then
|
||||||
ln -s multiarch_wrapper /usr/bin/libtool
|
mv $TMPROOT/usr/bin/libtool{,-64}
|
||||||
|
ln -s multiarch_wrapper /usr/bin/libtool
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -115,10 +115,12 @@ mk() {
|
|||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
make DESTDIR=$TMPROOT install
|
make DESTDIR=$TMPROOT install
|
||||||
mv -v /usr/bin/ncursesw5-config{,-64}
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ln -svf multiarch_wrapper /usr/bin/ncursesw5-config
|
mv -v /usr/bin/ncursesw5-config{,-64}
|
||||||
mv -v $TMPROOT/usr/bin/ncursesw5-config{,-64}
|
ln -svf multiarch_wrapper /usr/bin/ncursesw5-config
|
||||||
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ncursesw5-config
|
mv -v $TMPROOT/usr/bin/ncursesw5-config{,-64}
|
||||||
|
ln -svf multiarch_wrapper $TMPROOT/usr/bin/ncursesw5-config
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
Loading…
Reference in New Issue
Block a user