--- /dev/null
+Index: ros_comm-1.11.15/utilities/xmlrpcpp/CMakeLists.txt
+===================================================================
+--- ros_comm-1.11.15.orig/utilities/xmlrpcpp/CMakeLists.txt
++++ ros_comm-1.11.15/utilities/xmlrpcpp/CMakeLists.txt
+@@ -30,9 +30,8 @@ if(WIN32)
+ target_link_libraries(xmlrpcpp ws2_32)
+ endif()
+
+-# FIXME the headers should be in a package-specific subfolder but can not be for backward compatibility
+ install(DIRECTORY include/
+- DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}
++ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
+ FILES_MATCHING PATTERN "*.h")
+
+ install(TARGETS xmlrpcpp
RDEPEND="dev-ros/cpp_common"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/headers.patch" )
+
+src_configure() {
+ ros-catkin_src_configure
+ # Hack so that proper -I are added
+ sed -e "s#_include_dirs \"include\"#_include_dirs \"include;${SYSROOT:-${EPREFIX}}/usr/include/xmlrpcpp\"#" \
+ -i "${BUILD_DIR}/catkin_generated/installspace/xmlrpcppConfig.cmake" || die
+}
RDEPEND="dev-ros/cpp_common"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/headers.patch" )
+
+src_configure() {
+ ros-catkin_src_configure
+ # Hack so that proper -I are added
+ sed -e "s#_include_dirs \"include\"#_include_dirs \"include;${SYSROOT:-${EPREFIX}}/usr/include/xmlrpcpp\"#" \
+ -i "${BUILD_DIR}/catkin_generated/installspace/xmlrpcppConfig.cmake" || die
+}