]> git.pld-linux.org Git - packages/plplot.git/blob - plplot-ocamldir.patch
- gcc 7.2 rebuild
[packages/plplot.git] / plplot-ocamldir.patch
1 --- plplot-5.9.9/bindings/ocaml/CMakeLists.txt.orig     2012-07-19 13:21:54.994034873 +0200
2 +++ plplot-5.9.9/bindings/ocaml/CMakeLists.txt  2012-07-19 13:23:28.724031567 +0200
3 @@ -40,7 +40,7 @@
4          elseif(DEP STREQUAL "qsastime")
5            set(internal_LIB_DIR "qsastime")
6          endif()
7 -        set(ocaml_STATIC_FLAGS ${ocaml_STATIC_FLAGS} -cclib ${CMAKE_BINARY_DIR}/lib/${internal_LIB_DIR}/lib${DEP}.a)
8 +        set(ocaml_STATIC_FLAGS ${ocaml_STATIC_FLAGS} -cclib ${CMAKE_BINARY_DIR}/lib${LIB_SUFFIX}/${internal_LIB_DIR}/lib${DEP}.a)
9        elseif(DEP STREQUAL "general")
10          set(ocaml_STATIC_FLAGS ${ocaml_STATIC_FLAGS})
11        else()
12 --- plplot-5.9.9/cmake/modules/ocaml.cmake~     2011-10-13 02:43:01.000000000 +0200
13 +++ plplot-5.9.9/cmake/modules/ocaml.cmake      2012-07-19 13:29:30.017352156 +0200
14 @@ -130,7 +130,7 @@
15  
16    # Installation follows the Debian ocaml policy for want of a better
17    # standard.
18 -  set(OCAML_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib/ocaml
19 +  set(OCAML_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/ocaml
20      CACHE PATH "install location for ocaml files"
21      )
22  
This page took 0.03 seconds and 3 git commands to generate.