kodi: unbreak musl build again...

This commit is contained in:
Juan RP 2015-11-28 09:58:37 +01:00
parent e1434c43d1
commit 99f74705bc

View file

@ -50,7 +50,10 @@ pre_configure() {
if [ -n "${_kodi_nojava}" ]; then
$XBPS_FETCH_CMD http://repo.voidlinux.eu/distfiles/kodi-${version}-generated-addons.tar.xz
tar xf kodi-${version}-generated-addons.tar.xz -C ${wrksrc}
BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true SWIG=/bin/true -f codegenerator.mk || true
for f in xbmc/interfaces/python/generated/*.cpp; do
touch ${f/.cpp/.xml}
done
BOOTSTRAP_STANDALONE=1 make JAVA=/bin/true SWIG=/bin/true -f codegenerator.mk
else
. /etc/profile.d/10_openjdk.sh
BOOTSTRAP_STANDALONE=1 make -f codegenerator.mk
@ -72,6 +75,9 @@ do_configure() {
ac_cv_path_SWIG_EXE=/bin/true
}
do_build() {
for f in xbmc/interfaces/python/generated/*.cpp; do
touch ${f/.cpp/.xml}
done
make ${makejobs}
}
do_install() {