bacula-common: fix cross patch

This commit is contained in:
John 2020-07-03 11:52:57 +02:00
parent 70f4463295
commit 8884b34cee
2 changed files with 2 additions and 4 deletions

View file

@ -19,8 +19,8 @@
MYSQL_LIBDIR=/usr/local/lib
fi
MYSQL_BINDIR=/usr/local/bin
+ elif test -f ${XBPS_CROSS_BASE}/usr/include/mysql.h; then
+ MYSQL_INCDIR=${XBPS_CROSS_BASE}/usr/include
+ elif test -f ${XBPS_CROSS_BASE}/usr/include/mysql/mysql.h; then
+ MYSQL_INCDIR=${XBPS_CROSS_BASE}/usr/include/mysql
+ if test -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.a \
+ -o -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.so; then
+ MYSQL_LIBDIR=${XBPS_CROSS_BASE}/usr/lib64

View file

@ -22,8 +22,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/26660/steps/shell_3/logs/stdio"
post_install() {
rm "${DESTDIR}/usr/bin/bacula"
rm -rf "${DESTDIR}/usr/share/doc"