summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch')
-rw-r--r--sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch b/sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch
new file mode 100644
index 000000000000..8b894bb2e597
--- /dev/null
+++ b/sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch
@@ -0,0 +1,14 @@
+--- a/install/unix/preinstall
++++ b/install/unix/preinstall
+@@ -121,7 +121,10 @@
+ urels=`(uname -r) 2>/dev/null`
+ machine=`(uname -m) 2>/dev/null`
+
+-if [ "$uname" = "Darwin" ]; then
++if [ -d "Gentoo" -a -f "/etc/gentoo-release" ]; then
++ system="Gentoo"
++
++elif [ "$uname" = "Darwin" ]; then
+ system="Darwin"
+
+ elif [ "$machine" = "x86_64" ]; then