* Disable csironn library since it does not build against recent qhull (libqhull_r). * Disable ada bindings: does not build with fPIC. * BuildRequires: python3-sip4-devel for openSUSE >= 1550 to enable pyqt5 bindings. * Pass `-DCMAKE_SKIP_RPATH:BOOL=OFF -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON` to cmake to fix build issues caused by Leap 15.2's incorrect cmake macros (doesn't hurt for other distros anyway). OBS-URL: https://build.opensuse.org/request/show/851562 OBS-URL: https://build.opensuse.org/package/show/science/plplot?expand=0&rev=131
17 lines
528 B
Diff
17 lines
528 B
Diff
Index: plplot-5.15.0/bindings/ada/CMakeLists.txt
|
|
===================================================================
|
|
--- plplot-5.15.0.orig/bindings/ada/CMakeLists.txt
|
|
+++ plplot-5.15.0/bindings/ada/CMakeLists.txt
|
|
@@ -18,6 +18,10 @@
|
|
|
|
if(ENABLE_ada)
|
|
|
|
+ IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
|
+ ADD_DEFINITIONS(-fPIC)
|
|
+ ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
|
|
+
|
|
# Specification files containing, e.g., variables, types, and subprogramme (subprocedure) declarations.
|
|
set(SPEC_SOURCE_LIST
|
|
plplot.ads
|
|
|