summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-04-15 00:17:42 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-04-15 00:18:16 +0000
commit187669684e09edb558fc65bffcb59e9dd2420b0b (patch)
treeff6cd028fd4eccc804f13e0a62f9386fbac0c93d /sci-astronomy/esomidas/files/esomidas-gentoo-setup.patch
parentdev-java/icedtea: Goodbye Java 6! (bug #483018) (diff)
downloadgentoo-187669684e09edb558fc65bffcb59e9dd2420b0b.tar.gz
gentoo-187669684e09edb558fc65bffcb59e9dd2420b0b.tar.bz2
gentoo-187669684e09edb558fc65bffcb59e9dd2420b0b.zip
sci-astronomy/esomidas: initial import
Thanks Cédric Krier for his initial work. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=148822 Package-Manager: portage-2.2.28
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