tdb: unbreak cross compilation (Hi Gottox).

This commit is contained in:
Juan RP 2015-01-29 08:21:39 +01:00
parent 835b692dff
commit 4299be1c79
2 changed files with 10 additions and 10 deletions

View file

@ -1,12 +1,12 @@
Checking uname sysname type: OK
Checking uname machine type: OK
Checking uname release type: OK
Checking uname version type: OK
Checking simple C program: OK
building library support: OK
Checking for large file support: OK
Checking for -D_FILE_OFFSET_BITS=64: OK
Checking for WORDS_BIGENDIAN: OK
Checking uname sysname type: "Linux"
Checking uname machine type: "@@XBPS_TARGET_MACHINE@@"
Checking uname release type: "ok"
Checking uname version type: "ok"
Checking simple C program: "ok"
building library support: "ok"
Checking for large file support: "ok"
Checking for -D_FILE_OFFSET_BITS=64: "ok"
Checking for WORDS_BIGENDIAN: "ok"
Checking size of char: "1"
Checking size of int: "4"
Checking size of long long: "4"

View file

@ -10,11 +10,11 @@ license="GPL-3"
homepage="http://tdb.samba.org/"
distfiles="http://samba.org/ftp/tdb/tdb-$version.tar.gz"
checksum=f585cd53b49cb1f11f4c5aec404d0daa0c9bc5568790b09f5eb3b79315511729
nocross=yes
do_configure() {
if [ "$CROSS_BUILD" ]; then
cp ${FILESDIR}/cross-32bit.answers .
sed -i "s,@@XBPS_TARGET_MACHINE@@,$XBPS_TARGET_MACHINE,g" cross-32bit.answers
_args="--cross-compile --hostcc=cc --cross-answers=cross-32bit.answers"
fi
./configure --prefix=/usr --disable-python ${_args}