From: Alexis Ballier Date: Fri, 7 Oct 2016 16:01:54 +0000 (+0200) Subject: sci-libs/orocos_kdl: install package.xml file in /usr/share/ros_packages/$PN X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=faad8baa62c9fda9111f38990441bf1df37ebf85;p=gentoo.git sci-libs/orocos_kdl: install package.xml file in /usr/share/ros_packages/$PN Package-Manager: portage-2.3.1 --- diff --git a/sci-libs/orocos_kdl/files/gentoo.patch b/sci-libs/orocos_kdl/files/gentoo.patch new file mode 100644 index 000000000000..3766e12f589b --- /dev/null +++ b/sci-libs/orocos_kdl/files/gentoo.patch @@ -0,0 +1,10 @@ +Index: orocos_kdl/CMakeLists.txt +=================================================================== +--- orocos_kdl.orig/CMakeLists.txt ++++ orocos_kdl/CMakeLists.txt +@@ -114,4 +114,4 @@ INSTALL(FILES ${PROJECT_BINARY_DIR}/oroc + INSTALL(FILES ${PROJECT_BINARY_DIR}/orocos_kdl-config-version.cmake DESTINATION share/orocos_kdl) + INSTALL(EXPORT OrocosKDLTargets DESTINATION share/orocos_kdl) + +-INSTALL(FILES package.xml DESTINATION share/orocos_kdl) ++INSTALL(FILES package.xml DESTINATION share/ros_packages/orocos_kdl) diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild similarity index 94% rename from sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild rename to sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild index 29a3169e4b1c..fac689144b57 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-1.3.0.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-1.3.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#9999}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl diff --git a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild index 29a3169e4b1c..fac689144b57 100644 --- a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild +++ b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -33,6 +33,7 @@ DEPEND="${RDEPEND} REQUIRED_USE="examples? ( models )" DOCS=( README ) +PATCHES=( "${FILESDIR}/gentoo.patch" ) if [ "${PV#9999}" != "${PV}" ] ; then S=${WORKDIR}/${P}/orocos_kdl