summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-11-27 13:12:30 +0100
committerAlexis Ballier <aballier@gentoo.org>2015-11-27 13:12:40 +0100
commit529847e3ea7c318cd6cae006688dfdc61c222815 (patch)
tree61139a70d0f33dba18d591de01eb6df1aa1c520c /dev-ros/xmlrpcpp
parentsci-mathematics/maxima: fixing dependencies (diff)
downloadgentoo-529847e3ea7c318cd6cae006688dfdc61c222815.tar.gz
gentoo-529847e3ea7c318cd6cae006688dfdc61c222815.tar.bz2
gentoo-529847e3ea7c318cd6cae006688dfdc61c222815.zip
dev-ros/xmlrpcpp: Include -I Cflags to the .pc file since we move headers around. Bug #566200.
Package-Manager: portage-2.2.26 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/xmlrpcpp')
-rw-r--r--dev-ros/xmlrpcpp/xmlrpcpp-1.11.16-r1.ebuild (renamed from dev-ros/xmlrpcpp/xmlrpcpp-1.11.16.ebuild)6
-rw-r--r--dev-ros/xmlrpcpp/xmlrpcpp-9999.ebuild6
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-ros/xmlrpcpp/xmlrpcpp-1.11.16.ebuild b/dev-ros/xmlrpcpp/xmlrpcpp-1.11.16-r1.ebuild
index 806b8bca772f..c2699ae5d9a0 100644
--- a/dev-ros/xmlrpcpp/xmlrpcpp-1.11.16.ebuild
+++ b/dev-ros/xmlrpcpp/xmlrpcpp-1.11.16-r1.ebuild
@@ -24,4 +24,10 @@ src_configure() {
# Hack so that proper -I are added
sed -e "s#_include_dirs \"include\"#_include_dirs \"include;${EPREFIX}/usr/include/xmlrpcpp\"#" \
-i "${BUILD_DIR}/catkin_generated/installspace/xmlrpcppConfig.cmake" || die
+
+ sed -e "s#/usr/include#/usr/include;${EPREFIX}/usr/include/xmlrpcpp#g" \
+ -i "${BUILD_DIR}/catkin_generated/pkg.installspace.context.pc.py" || die
+
+ sed -e "s#/usr/include#/usr/include -I${EPREFIX}/usr/include/xmlrpcpp#g" \
+ -i "${BUILD_DIR}/./catkin_generated/installspace/xmlrpcpp.pc" || die
}
diff --git a/dev-ros/xmlrpcpp/xmlrpcpp-9999.ebuild b/dev-ros/xmlrpcpp/xmlrpcpp-9999.ebuild
index 806b8bca772f..c2699ae5d9a0 100644
--- a/dev-ros/xmlrpcpp/xmlrpcpp-9999.ebuild
+++ b/dev-ros/xmlrpcpp/xmlrpcpp-9999.ebuild
@@ -24,4 +24,10 @@ src_configure() {
# Hack so that proper -I are added
sed -e "s#_include_dirs \"include\"#_include_dirs \"include;${EPREFIX}/usr/include/xmlrpcpp\"#" \
-i "${BUILD_DIR}/catkin_generated/installspace/xmlrpcppConfig.cmake" || die
+
+ sed -e "s#/usr/include#/usr/include;${EPREFIX}/usr/include/xmlrpcpp#g" \
+ -i "${BUILD_DIR}/catkin_generated/pkg.installspace.context.pc.py" || die
+
+ sed -e "s#/usr/include#/usr/include -I${EPREFIX}/usr/include/xmlrpcpp#g" \
+ -i "${BUILD_DIR}/./catkin_generated/installspace/xmlrpcpp.pc" || die
}