bacula-common: fix cross patch
This commit is contained in:
parent
70f4463295
commit
8884b34cee
2 changed files with 2 additions and 4 deletions
|
@ -19,8 +19,8 @@
|
||||||
MYSQL_LIBDIR=/usr/local/lib
|
MYSQL_LIBDIR=/usr/local/lib
|
||||||
fi
|
fi
|
||||||
MYSQL_BINDIR=/usr/local/bin
|
MYSQL_BINDIR=/usr/local/bin
|
||||||
+ elif test -f ${XBPS_CROSS_BASE}/usr/include/mysql.h; then
|
+ elif test -f ${XBPS_CROSS_BASE}/usr/include/mysql/mysql.h; then
|
||||||
+ MYSQL_INCDIR=${XBPS_CROSS_BASE}/usr/include
|
+ MYSQL_INCDIR=${XBPS_CROSS_BASE}/usr/include/mysql
|
||||||
+ if test -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.a \
|
+ if test -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.a \
|
||||||
+ -o -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.so; then
|
+ -o -f ${XBPS_CROSS_BASE}/usr/lib64/libmysqlclient_r.so; then
|
||||||
+ MYSQL_LIBDIR=${XBPS_CROSS_BASE}/usr/lib64
|
+ MYSQL_LIBDIR=${XBPS_CROSS_BASE}/usr/lib64
|
||||||
|
|
|
@ -22,8 +22,6 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
makedepends+=" libatomic-devel"
|
makedepends+=" libatomic-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/26660/steps/shell_3/logs/stdio"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm "${DESTDIR}/usr/bin/bacula"
|
rm "${DESTDIR}/usr/bin/bacula"
|
||||||
rm -rf "${DESTDIR}/usr/share/doc"
|
rm -rf "${DESTDIR}/usr/share/doc"
|
||||||
|
|
Loading…
Reference in a new issue