paraview: fix build on ppc32
This commit is contained in:
parent
860fe37513
commit
a09c19d4ad
1 changed files with 15 additions and 0 deletions
|
@ -59,6 +59,21 @@ patch_args="-Np1"
|
|||
CFLAGS="-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() {
|
||||
vlicense Copyright.txt
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue