File: java-mapscript-install.patch

package info (click to toggle)
mapserver 8.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,492 kB
  • sloc: ansic: 137,759; cpp: 124,149; python: 3,175; xml: 1,722; yacc: 1,114; cs: 1,001; sh: 836; lex: 778; java: 588; perl: 489; makefile: 383; tcl: 158; ruby: 55
file content (14 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix Java mapscript installation directories.
Author: Ezequiel Lara Gómez <ezequiel.lara@qualitasremos.com>
Bug-Debian: https://bugs.debian.org/740351
Forwarded: not-needed

--- a/src/mapscript/java/CMakeLists.txt
+++ b/src/mapscript/java/CMakeLists.txt
@@ -38,4 +38,5 @@ add_custom_command(TARGET javamapscript
                       )
 
 set(mapscript_files $<TARGET_FILE:${SWIG_MODULE_javamapscript_REAL_NAME}>)
-install(FILES ${mapscript_files} DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(FILES ${mapscript_files} DESTINATION lib/jni)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mapscript.jar DESTINATION share/java)