diff options
author | 2012-04-05 16:40:06 -0400 | |
---|---|---|
committer | 2012-04-05 16:40:06 -0400 | |
commit | 701ba3b956f3c0b1466ef31953f779cea1793080 (patch) | |
tree | 66fcfdc82a14410b60d4a15900fb92299ad39e5f | |
parent | Retire sci-libs/flann; update source URI in sci-libs/pcl. (diff) | |
download | ezod-701ba3b956f3c0b1466ef31953f779cea1793080.tar.gz ezod-701ba3b956f3c0b1466ef31953f779cea1793080.tar.bz2 ezod-701ba3b956f3c0b1466ef31953f779cea1793080.zip |
sci-electronics/rosinstall: Fix OS detection for Funtoo users.
-rw-r--r-- | sci-electronics/rosinstall/Manifest | 2 | ||||
-rw-r--r-- | sci-electronics/rosinstall/rosinstall-0.5.30.ebuild | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sci-electronics/rosinstall/Manifest b/sci-electronics/rosinstall/Manifest index fe23069..9dc2cde 100644 --- a/sci-electronics/rosinstall/Manifest +++ b/sci-electronics/rosinstall/Manifest @@ -1,3 +1,3 @@ DIST rosinstall-0.5.30.tar.gz 18029 RMD160 ab43c3044b17971f1132c5df87f79fc8ee89324c SHA1 867c2640da689afb1c5cf272c4fdd6424481ce6d SHA256 13fe4b97b785e5477c209eeb32f784c7bce9ae7ab8efcad61bbe85effbfe8396 -EBUILD rosinstall-0.5.30.ebuild 482 RMD160 38359c22f325012a505398fd237b837181733031 SHA1 dd8cd6035e1520e20f2f5cca162a331532c54344 SHA256 c0e8c5f0f8ff436cfaef23f406cf81cf4626d774a476752c47a7c61737c0a139 +EBUILD rosinstall-0.5.30.ebuild 762 RMD160 9759d5e95c2d15b04fece2a9e31b85448af7c6c8 SHA1 d98febbc7cad7a576215b805ca4f43ed3347f07e SHA256 bde3c02eeb83764ce503b5370bfc893490614e746e96b6dd8416bd1a56b4212d MISC metadata.xml 230 RMD160 65b1879f0881b046ac536157a1b73ae8e08a8a23 SHA1 14b143872462f3e5df4ac14bb0e872f1dc762ef0 SHA256 0ef810189a3667f1a7527037968f2b88fae043d5efcaaaa27e33287da96783b6 diff --git a/sci-electronics/rosinstall/rosinstall-0.5.30.ebuild b/sci-electronics/rosinstall/rosinstall-0.5.30.ebuild index 97f1dde..b9f4865 100644 --- a/sci-electronics/rosinstall/rosinstall-0.5.30.ebuild +++ b/sci-electronics/rosinstall/rosinstall-0.5.30.ebuild @@ -26,3 +26,14 @@ RDEPEND=" dev-python/pyyaml dev-python/vcstools " + +src_install () { + distutils_src_install + + # fix for Funtoo users + if [ `cut -f1 -d' ' < /etc/gentoo-release` == "Funtoo" ]; then + version=`cut -f5 -d' ' < /etc/gentoo-release` + echo "ROS_OS_OVERRIDE=\"gentoo:$version\"" > "${T}"/50rosinstall + doenvd "${T}"/50rosinstall + fi +} |