renderdoc: update broken message for musl.

This commit is contained in:
Érico Rolim 2020-09-02 16:16:48 -03:00 committed by Đoàn Trần Công Danh
parent b0126d6d6a
commit 8475a59f7b

View file

@ -7,7 +7,6 @@ configure_args="-DENABLE_GL=ON -DENABLE_GLES=ON -DENABLE_QRENDERDOC=ON
-DENABLE_RENDERDOCCMD=ON -DENABLE_VULKAN=ON -DENABLE_XCB=ON -DENABLE_XLIB=ON -DENABLE_RENDERDOCCMD=ON -DENABLE_VULKAN=ON -DENABLE_XCB=ON -DENABLE_XLIB=ON
-DENABLE_PYRENDERDOC=ON -DENABLE_PYRENDERDOC=ON
-DRENDERDOC_SWIG_PATCH=${XBPS_SRCPKGDIR}/${pkgname}/files/swig-py38.patch" -DRENDERDOC_SWIG_PATCH=${XBPS_SRCPKGDIR}/${pkgname}/files/swig-py38.patch"
patch_args="-p1"
hostmakedepends="bison autoconf automake pkg-config python3" hostmakedepends="bison autoconf automake pkg-config python3"
makedepends="libX11-devel libxcb-devel xcb-util-keysyms-devel qt5-devel makedepends="libX11-devel libxcb-devel xcb-util-keysyms-devel qt5-devel
qt5-svg-devel qt5-x11extras-devel pcre-devel python3-devel" qt5-svg-devel qt5-x11extras-devel pcre-devel python3-devel"
@ -17,13 +16,14 @@ license="MIT"
homepage="https://github.com/baldurk/renderdoc" homepage="https://github.com/baldurk/renderdoc"
distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz" distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz"
checksum=9a78951f386fb7c3ecf7df6919d300db59719d14f0621438963ae30a75d33677 checksum=9a78951f386fb7c3ecf7df6919d300db59719d14f0621438963ae30a75d33677
patch_args="-p1"
if [ "$XBPS_TARGET_LIBC" = musl ]; then if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel" makedepends+=" libexecinfo-devel"
LDFLAGS+=" -lexecinfo" LDLIBS="-lexecinfo"
fi fi
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) broken="This package uses execinfo.h which is not available on musl" ;; *-musl) broken="uses RTLD_DL_LINKMAP, RTLD_DEEPBIND, _r_debug" ;;
ppc64*) ;; ppc64*) ;;
ppc*) broken="undefined reference to '__sync_add_and_fetch_8'" ;; ppc*) broken="undefined reference to '__sync_add_and_fetch_8'" ;;
esac esac