webkit2gtk: unbreak armv[56]*

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-06-17 12:59:27 +02:00
parent 72cf01e36c
commit 5cb92b900f
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 9 additions and 4 deletions

View File

@ -14,10 +14,6 @@ homepage="https://webkitgtk.org/"
license="LGPL-2.1, 2-clause-BSD"
distfiles="${homepage}/releases/webkitgtk-${version}.tar.xz"
checksum=57f640f720bd9a8a7207f3321cf803a15c2f207b4e7b75ff1be17bc1eeb00a3c
case "$XBPS_TARGET_MACHINE" in
armv[56]*) broken=https://build.voidlinux.eu/builders/armv6l_builder/builds/8588/steps/shell_3/logs/stdio ;;
esac
# ETOOHUGE
nodebug=1
@ -79,6 +75,15 @@ else
configure_args+=" --disable-x11-target"
fi
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
armv[56]*) # Add -latomic to the targets
find -name "CMakeLists.txt" -exec sed -i "{}" \
-e "/target_link_libraries/s/)/ atomic)/" \;
;;
esac
}
post_install() {
vlicense Source/WebCore/LICENSE-APPLE
vlicense Source/WebCore/LICENSE-LGPL-2.1