A new user interface for you! Read more...

File dart-5.1.1_libdir.patch of Package dart5

diff -U 3 -dHrN dart-5.1.1.orig/CMakeLists.txt dart-5.1.1/CMakeLists.txt
--- dart-5.1.1.orig/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/CMakeLists.txt	2016-02-07 08:20:55.965646422 +0300
@@ -579,7 +579,7 @@
 set(PC_CONFIG_OUT ${CMAKE_BINARY_DIR}/cmake/dart.pc)
 message(STATUS ${PC_CONFIG_OUT})
 configure_file(${PC_CONFIG_IN} ${PC_CONFIG_OUT} @ONLY)
-install(FILES ${PC_CONFIG_OUT} DESTINATION lib/pkgconfig)
+install(FILES ${PC_CONFIG_OUT} DESTINATION lib${LIB_SUFFIX}/pkgconfig)
 
 # Install a Catkin 'package.xml' file. This is required by REP-136.
 install(FILES package.xml DESTINATION share/${PROJECT_NAME})
diff -U 3 -dHrN dart-5.1.1.orig/dart/CMakeLists.txt dart-5.1.1/dart/CMakeLists.txt
--- dart-5.1.1.orig/dart/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/CMakeLists.txt	2016-02-07 08:20:55.929647204 +0300
@@ -84,10 +84,10 @@
 
 #install(FILES ${dart_core_hdrs} DESTINATION include/dart/ COMPONENT headers)
 install(FILES dart-core.h DESTINATION include/dart/ COMPONENT headers)
-install(TARGETS dart-core EXPORT DARTCoreTargets DESTINATION lib)
+install(TARGETS dart-core EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
 if(NOT BUILD_CORE_ONLY)
 #  install(FILES ${dart_hdrs} DESTINATION include/dart/ COMPONENT headers)
   install(FILES dart.h DESTINATION include/dart/ COMPONENT headers)
-  install(TARGETS dart-core dart EXPORT DARTTargets DESTINATION lib)
+  install(TARGETS dart-core dart EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 endif()
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/collision/bullet/CMakeLists.txt dart-5.1.1/dart/collision/bullet/CMakeLists.txt
--- dart-5.1.1.orig/dart/collision/bullet/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/collision/bullet/CMakeLists.txt	2016-02-07 08:20:55.925647291 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/collision/bullet
   COMPONENT headers
 )
-#install(TARGETS dart_collision_bullet EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_collision_bullet EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_collision_bullet EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_collision_bullet EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/collision/CMakeLists.txt dart-5.1.1/dart/collision/CMakeLists.txt
--- dart-5.1.1.orig/dart/collision/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/collision/CMakeLists.txt	2016-02-07 08:20:55.925647291 +0300
@@ -57,5 +57,5 @@
   DESTINATION include/dart/collision
   COMPONENT headers
 )
-#install(TARGETS dart_collision EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_collision EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_collision EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_collision EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
diff -U 3 -dHrN dart-5.1.1.orig/dart/collision/dart/CMakeLists.txt dart-5.1.1/dart/collision/dart/CMakeLists.txt
--- dart-5.1.1.orig/dart/collision/dart/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/collision/dart/CMakeLists.txt	2016-02-07 08:20:55.921647378 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/collision/dart
   COMPONENT headers
 )
-#install(TARGETS dart_collision_dart EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_collision_dart EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_collision_dart EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_collision_dart EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/collision/fcl/CMakeLists.txt dart-5.1.1/dart/collision/fcl/CMakeLists.txt
--- dart-5.1.1.orig/dart/collision/fcl/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/collision/fcl/CMakeLists.txt	2016-02-07 08:20:55.925647291 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/collision/fcl
   COMPONENT headers
 )
-#install(TARGETS dart_collision_fcl EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_collision_fcl EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_collision_fcl EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_collision_fcl EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/collision/fcl_mesh/CMakeLists.txt dart-5.1.1/dart/collision/fcl_mesh/CMakeLists.txt
--- dart-5.1.1.orig/dart/collision/fcl_mesh/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/collision/fcl_mesh/CMakeLists.txt	2016-02-07 08:20:55.925647291 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/collision/fcl_mesh
   COMPONENT headers
 )
-#install(TARGETS dart_collision_fcl_mesh EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_collision_fcl_mesh EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_collision_fcl_mesh EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_collision_fcl_mesh EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/common/CMakeLists.txt dart-5.1.1/dart/common/CMakeLists.txt
--- dart-5.1.1.orig/dart/common/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/common/CMakeLists.txt	2016-02-07 08:20:55.937647030 +0300
@@ -37,6 +37,6 @@
   COMPONENT headers
 )
 
-#install(TARGETS dart_common EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_common EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_common EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_common EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/constraint/CMakeLists.txt dart-5.1.1/dart/constraint/CMakeLists.txt
--- dart-5.1.1.orig/dart/constraint/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/constraint/CMakeLists.txt	2016-02-07 08:20:55.917647465 +0300
@@ -33,6 +33,6 @@
   DESTINATION include/dart/constraint
   COMPONENT headers
 )
-#install(TARGETS dart_constraint EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_constraint EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_constraint EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_constraint EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/dynamics/CMakeLists.txt dart-5.1.1/dart/dynamics/CMakeLists.txt
--- dart-5.1.1.orig/dart/dynamics/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/dynamics/CMakeLists.txt	2016-02-07 08:20:55.917647465 +0300
@@ -41,5 +41,5 @@
   COMPONENT headers
 )
 
-#install(TARGETS dart_dynamics EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_dynamics EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_dynamics EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_dynamics EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
diff -U 3 -dHrN dart-5.1.1.orig/dart/gui/CMakeLists.txt dart-5.1.1/dart/gui/CMakeLists.txt
--- dart-5.1.1.orig/dart/gui/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/gui/CMakeLists.txt	2016-02-07 08:20:55.929647204 +0300
@@ -33,5 +33,5 @@
   DESTINATION include/dart/gui
   COMPONENT headers
 )
-#install(TARGETS dart_gui EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_gui EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/integration/CMakeLists.txt dart-5.1.1/dart/integration/CMakeLists.txt
--- dart-5.1.1.orig/dart/integration/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/integration/CMakeLists.txt	2016-02-07 08:20:55.921647378 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/integration
   COMPONENT headers
 )
-#install(TARGETS dart_integration EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_integration EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_integration EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_integration EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/lcpsolver/CMakeLists.txt dart-5.1.1/dart/lcpsolver/CMakeLists.txt
--- dart-5.1.1.orig/dart/lcpsolver/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/lcpsolver/CMakeLists.txt	2016-02-07 08:20:55.937647030 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/lcpsolver
   COMPONENT headers
 )
-#install(TARGETS dart_lcpsolver EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_lcpsolver EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_lcpsolver EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_lcpsolver EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/math/CMakeLists.txt dart-5.1.1/dart/math/CMakeLists.txt
--- dart-5.1.1.orig/dart/math/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/math/CMakeLists.txt	2016-02-07 08:20:55.921647378 +0300
@@ -28,6 +28,6 @@
   DESTINATION include/dart/math
   COMPONENT headers
 )
-#install(TARGETS dart_math EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_math EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_math EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_math EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/optimizer/CMakeLists.txt dart-5.1.1/dart/optimizer/CMakeLists.txt
--- dart-5.1.1.orig/dart/optimizer/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/optimizer/CMakeLists.txt	2016-02-07 08:20:55.933647116 +0300
@@ -62,5 +62,5 @@
   DESTINATION include/dart/optimizer
   COMPONENT headers
 )
-#install(TARGETS dart_optimizer EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_optimizer EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/optimizer/ipopt/CMakeLists.txt dart-5.1.1/dart/optimizer/ipopt/CMakeLists.txt
--- dart-5.1.1.orig/dart/optimizer/ipopt/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/optimizer/ipopt/CMakeLists.txt	2016-02-07 08:20:55.929647204 +0300
@@ -25,4 +25,4 @@
   DESTINATION include/dart/optimizer/ipopt
   COMPONENT headers
 )
-install(TARGETS dart-optimizer-ipopt EXPORT DARTIpoptTargets DESTINATION lib)
+install(TARGETS dart-optimizer-ipopt EXPORT DARTIpoptTargets DESTINATION lib${LIB_SUFFIX})
diff -U 3 -dHrN dart-5.1.1.orig/dart/optimizer/nlopt/CMakeLists.txt dart-5.1.1/dart/optimizer/nlopt/CMakeLists.txt
--- dart-5.1.1.orig/dart/optimizer/nlopt/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/optimizer/nlopt/CMakeLists.txt	2016-02-07 08:20:55.933647116 +0300
@@ -25,4 +25,4 @@
   DESTINATION include/dart/optimizer/nlopt
   COMPONENT headers
 )
-install(TARGETS dart-optimizer-nlopt EXPORT DARTNLoptTargets DESTINATION lib)
+install(TARGETS dart-optimizer-nlopt EXPORT DARTNLoptTargets DESTINATION lib${LIB_SUFFIX})
diff -U 3 -dHrN dart-5.1.1.orig/dart/optimizer/snopt/CMakeLists.txt dart-5.1.1/dart/optimizer/snopt/CMakeLists.txt
--- dart-5.1.1.orig/dart/optimizer/snopt/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/optimizer/snopt/CMakeLists.txt	2016-02-07 08:20:55.929647204 +0300
@@ -25,5 +25,5 @@
   DESTINATION include/dart/optimizer/snopt
   COMPONENT headers
 )
-install(TARGETS dart-optimizer-snopt EXPORT DARTSNOPTTargets DESTINATION lib)
+install(TARGETS dart-optimizer-snopt EXPORT DARTSNOPTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/planning/CMakeLists.txt dart-5.1.1/dart/planning/CMakeLists.txt
--- dart-5.1.1.orig/dart/planning/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/planning/CMakeLists.txt	2016-02-07 08:20:55.917647465 +0300
@@ -28,5 +28,5 @@
   DESTINATION include/dart/planning
   COMPONENT headers
 )
-#install(TARGETS dart_planning EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_planning EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/renderer/CMakeLists.txt dart-5.1.1/dart/renderer/CMakeLists.txt
--- dart-5.1.1.orig/dart/renderer/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/renderer/CMakeLists.txt	2016-02-07 08:20:55.929647204 +0300
@@ -28,5 +28,5 @@
   DESTINATION include/dart/renderer
   COMPONENT headers
 )
-#install(TARGETS dart_renderer EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_renderer EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/simulation/CMakeLists.txt dart-5.1.1/dart/simulation/CMakeLists.txt
--- dart-5.1.1.orig/dart/simulation/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/simulation/CMakeLists.txt	2016-02-07 08:20:55.921647378 +0300
@@ -33,6 +33,6 @@
   DESTINATION include/dart/simulation
   COMPONENT headers
 )
-#install(TARGETS dart_simulation EXPORT DARTCoreTargets DESTINATION lib)
-#install(TARGETS dart_simulation EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_simulation EXPORT DARTCoreTargets DESTINATION lib${LIB_SUFFIX})
+#install(TARGETS dart_simulation EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/utils/CMakeLists.txt dart-5.1.1/dart/utils/CMakeLists.txt
--- dart-5.1.1.orig/dart/utils/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/utils/CMakeLists.txt	2016-02-07 08:20:55.913647551 +0300
@@ -46,5 +46,5 @@
   DESTINATION include/dart/utils
   COMPONENT headers
 )
-#install(TARGETS dart_utils EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_utils EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/utils/sdf/CMakeLists.txt dart-5.1.1/dart/utils/sdf/CMakeLists.txt
--- dart-5.1.1.orig/dart/utils/sdf/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/utils/sdf/CMakeLists.txt	2016-02-07 08:20:55.917647465 +0300
@@ -28,5 +28,5 @@
   DESTINATION include/dart/utils/sdf
   COMPONENT headers
 )
-#install(TARGETS dart_utils_sdf EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_utils_sdf EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/dart/utils/urdf/CMakeLists.txt dart-5.1.1/dart/utils/urdf/CMakeLists.txt
--- dart-5.1.1.orig/dart/utils/urdf/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/dart/utils/urdf/CMakeLists.txt	2016-02-07 08:20:55.917647465 +0300
@@ -28,5 +28,5 @@
   DESTINATION include/dart/utils/urdf
   COMPONENT headers
 )
-#install(TARGETS dart_utils_urdf EXPORT DARTTargets DESTINATION lib)
+#install(TARGETS dart_utils_urdf EXPORT DARTTargets DESTINATION lib${LIB_SUFFIX})
 
diff -U 3 -dHrN dart-5.1.1.orig/osgDart/CMakeLists.txt dart-5.1.1/osgDart/CMakeLists.txt
--- dart-5.1.1.orig/osgDart/CMakeLists.txt	2015-11-06 17:43:25.000000000 +0300
+++ dart-5.1.1/osgDart/CMakeLists.txt	2016-02-07 08:20:55.941646943 +0300
@@ -39,7 +39,7 @@
     COMPONENT headers
   )
 
-  install(TARGETS osgDart EXPORT osgDartTargets DESTINATION lib)
+  install(TARGETS osgDart EXPORT osgDartTargets DESTINATION lib${LIB_SUFFIX})
 
 else(${OPENSCENEGRAPH_FOUND})