Anpassung an Version 1_37, da einige packages mit cmake die 1_39 nicht mögen

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5036 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2010-01-09 11:57:17 +00:00
parent 0874a701df
commit 498875c32b

View File

@ -79,26 +79,47 @@ premk() {
#all is ignored - with bootstrap.sh and jam, and also with cmake
#build system. configure and make is not supportet...
#mk32() {
#LDFLAGS="-L/lib -L/usr/lib -L/usr/X11R7/lib" \
#CC="gcc $BUILDOPTIONS32" \
#USE_ARCH=$UARCH \
#./bootstrap.sh --prefix=/usr
#bjam install --prefix=$TMPROOT/usr
#}
mk32() {
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS32} ;" >> tools/build/v2/tools/gcc.jam &&
#export USE_ARCH=32 &&
#./bootstrap.sh --prefix=/usr \
# --with-toolset=gcc \
# --with-bjam=/usr/bin/bjam &&
export USE_ARCH=32 &&
./configure --prefix=/usr \
--with-toolset=gcc \
--with-bjam=/usr/bin/bjam &&
make -j $NUMCPU
bjam install --prefix=$TMPROOT/usr \
--libdir=$TMPROOT/usr/lib \
--includedir=$TMPROOT/usr/include
cd ..
rm -r boost
UnPack $MAKEDIR $LFSSOURCE/$SRCPATH/boost*.tar.bz2
cd boost*
}
mk() {
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR" \
CC="gcc $BUILDOPTIONS" \
echo "toolset.flags gcc OPTIONS : ${BUILDOPTIONS} ;" >> tools/build/v2/tools/gcc.jam &&
#USE_ARCH=$UARCH \
#./bootstrap.sh --with-bjam=/usr/bin/bjam \
#--with-toolset=gcc \
#--prefix=/usr \
#--libdir=/usr/$LIBDIR
#bjam install --prefix=$TMPROOT/usr \
#--libdir=$TMPROOT/usr/$LIBDIR \
#--includedir=$TMPROOT/usr/include
USE_ARCH=$UARCH \
./bootstrap.sh --with-bjam=/usr/bin/bjam \
--prefix=/usr \
--libdir=/usr/$LIBDIR
./configure --with-bjam=/usr/bin/bjam \
--with-toolset=gcc \
--prefix=/usr \
--libdir=/usr/$LIBDIR
make -j $NUMCPU
bjam install --prefix=$TMPROOT/usr \
--libdir=$TMPROOT/usr/$LIBDIR \
--includedir=$TMPROOT/usr/include
}
postmk() {
echo "Nothing to do for postmk()"
ln -sfnv boost-1_37 $TMPROOT/usr/include/boost
}