summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/mavlink-gbp-release/files/gentoo.patch12
-rw-r--r--dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7-r1.ebuild (renamed from dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7.ebuild)1
2 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/mavlink-gbp-release/files/gentoo.patch b/dev-ros/mavlink-gbp-release/files/gentoo.patch
new file mode 100644
index 000000000000..1fb168cd80b3
--- /dev/null
+++ b/dev-ros/mavlink-gbp-release/files/gentoo.patch
@@ -0,0 +1,12 @@
+Index: mavlink-gbp-release-release-kinetic-mavlink/CMakeLists.txt
+===================================================================
+--- mavlink-gbp-release-release-kinetic-mavlink.orig/CMakeLists.txt
++++ mavlink-gbp-release-release-kinetic-mavlink/CMakeLists.txt
+@@ -170,6 +170,6 @@ install(FILES ${PROJECT_BINARY_DIR}/COPY
+ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/ COMPONENT license)
+
+ install(FILES ${CMAKE_SOURCE_DIR}/package.xml
+- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/ COMPONENT catkin)
++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/ros_packages/${PROJECT_NAME}/ COMPONENT catkin)
+
+ # vim:sw=4:ts=4:expandtab
diff --git a/dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7.ebuild b/dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7-r1.ebuild
index 1ed27f88f482..fc83542e2d38 100644
--- a/dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7.ebuild
+++ b/dev-ros/mavlink-gbp-release/mavlink-gbp-release-2016.7.7-r1.ebuild
@@ -20,3 +20,4 @@ IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}-${EGIT_BRANCH//\//-}"
+PATCHES=( "${FILESDIR}/gentoo.patch" )