Skip to content

Commit

Permalink
dev-util/catkin: set global etc destination to /etc, part of bug #598537
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.3.2
  • Loading branch information
aballier committed Nov 28, 2016
1 parent b5c1221 commit b33ece5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PATCHES=(
"${FILESDIR}/gnuinstalldirs.patch"
"${FILESDIR}/catkin_prefix_path_util_py.patch"
"${FILESDIR}/package_xml.patch"
"${FILESDIR}/etc.patch"
)

src_prepare() {
Expand Down
1 change: 1 addition & 0 deletions dev-util/catkin/catkin-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PATCHES=(
"${FILESDIR}/gnuinstalldirs.patch"
"${FILESDIR}/catkin_prefix_path_util_py.patch"
"${FILESDIR}/package_xml.patch"
"${FILESDIR}/etc.patch"
)

src_prepare() {
Expand Down
13 changes: 13 additions & 0 deletions dev-util/catkin/files/etc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: catkin-0.7.4/cmake/all.cmake
===================================================================
--- catkin-0.7.4.orig/cmake/all.cmake
+++ catkin-0.7.4/cmake/all.cmake
@@ -163,7 +163,7 @@ unset(_CATKIN_CURRENT_PACKAGE)

# set global install destinations
set(CATKIN_GLOBAL_BIN_DESTINATION bin)
-set(CATKIN_GLOBAL_ETC_DESTINATION etc)
+set(CATKIN_GLOBAL_ETC_DESTINATION ../etc)
set(CATKIN_GLOBAL_INCLUDE_DESTINATION include)
set(CATKIN_GLOBAL_LIB_DESTINATION ${CMAKE_INSTALL_LIBDIR})
set(CATKIN_GLOBAL_LIBEXEC_DESTINATION libexec)

0 comments on commit b33ece5

Please sign in to comment.