paraview: fix build on ppc32
This commit is contained in:
parent
860fe37513
commit
a09c19d4ad
|
@ -59,6 +59,21 @@ patch_args="-Np1"
|
||||||
CFLAGS="-D_GNU_SOURCE"
|
CFLAGS="-D_GNU_SOURCE"
|
||||||
CXXFLAGS="-D_GNU_SOURCE"
|
CXXFLAGS="-D_GNU_SOURCE"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64*) ;;
|
||||||
|
ppc*) makedepends+=" libatomic-devel" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
ppc64*) ;;
|
||||||
|
ppc*)
|
||||||
|
echo "target_link_libraries(vtkCommonDataModel PRIVATE atomic)" >> \
|
||||||
|
VTK/Common/DataModel/CMakeLists.txt
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense Copyright.txt
|
vlicense Copyright.txt
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue