Diverse Fixes fuer 64 Bit build
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5922 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
3c5c8b6c59
commit
4bead780c1
@ -75,15 +75,17 @@ premk() {
|
||||
if ! getent group uucp; then
|
||||
groupadd -o -g 10 uucp
|
||||
fi
|
||||
if ! getent passwd uucp; then
|
||||
useradd -u 52 -g uucp -d /opt/inn news
|
||||
if ! getent passwd news; then
|
||||
useradd -u 51 -g uucp -d /opt/inn news
|
||||
fi
|
||||
}
|
||||
|
||||
mk() {
|
||||
./configure --host=$BUILDSYS \
|
||||
--target=$TARGET \
|
||||
--build=$BUILDSYS \
|
||||
USE_ARCH=$UARCH \
|
||||
CC="gcc $BUILDOPTIONS -I/usr/include/python2.6/" \
|
||||
CXX="g++ $BUILDOPTIONS /usr/include/python2.6/" \
|
||||
LDFLAGS="-L/$LIBDIR -L/usr/$LIBDIR -L/usr/X11R7/$LIBDIR -lz" \
|
||||
./configure --host=$TARGET \
|
||||
--sysconfdir=/etc/inn \
|
||||
--with-etc-dir=/etc/inn \
|
||||
--with-spool-dir=/var/spool/news \
|
||||
@ -98,11 +100,11 @@ mk() {
|
||||
--with-sendmail=/usr/sbin/sendmail \
|
||||
--with-openssl=/usr \
|
||||
--prefix=/opt/inn
|
||||
make -j $NUMCPU
|
||||
make -j $NUMCPU USE_ARCH=$UARCH
|
||||
ln -s $TMPROOT/opt/inn /opt/inn
|
||||
ln -s $TMPROOT/etc/inn /etc/inn
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||
make DESTDIR=$TMPROOT install
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT USE_ARCH=$UARCH install
|
||||
make DESTDIR=$TMPROOT USE_ARCH=$UARCH install
|
||||
}
|
||||
|
||||
postmk() {
|
||||
|
Loading…
Reference in New Issue
Block a user