dev-java/nexus-oss-bin:
fixed nexus ebuild for EAPI="6" Package-Manager: portage-2.2.28
This commit is contained in:
parent
66756556e0
commit
5d0499fa3c
4 changed files with 8 additions and 49 deletions
|
@ -1,42 +0,0 @@
|
|||
diff --git a/bin/nexus b/bin/nexus
|
||||
index 3f3a23c..4f69c5e 100755
|
||||
--- a/nexus-2.11.2-06/bin/nexus
|
||||
+++ b/nexus-2.11.2-06/bin/nexus
|
||||
@@ -161,6 +161,37 @@ case "$DIST_ARCH" in
|
||||
'9000/800')
|
||||
DIST_ARCH="parisc"
|
||||
;;
|
||||
+ *)
|
||||
+ DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
|
||||
+ case "$DIST_ARCH" in
|
||||
+ 'athlon' | 'ia32' | 'i386' | 'i486' | 'i586' | 'i686')
|
||||
+ DIST_ARCH="x86"
|
||||
+ ;;
|
||||
+ 'amd64' | 'x86_64' | 'ia64')
|
||||
+ DIST_ARCH="x86"
|
||||
+ DIST_BITS=64
|
||||
+ ;;
|
||||
+ 'ip27')
|
||||
+ DIST_ARCH="mips"
|
||||
+ ;;
|
||||
+ 'power' | 'powerpc' | 'power_pc')
|
||||
+ DIST_ARCH="ppc"
|
||||
+ ;;
|
||||
+ 'ppc64')
|
||||
+ DIST_ARCH="ppc"
|
||||
+ DIST_BITS=64
|
||||
+ ;;
|
||||
+ 'pa_risc' | 'pa-risc')
|
||||
+ DIST_ARCH="parisc"
|
||||
+ ;;
|
||||
+ 'sun4u' | 'sparcv9')
|
||||
+ DIST_ARCH="sparc"
|
||||
+ ;;
|
||||
+ '9000/800')
|
||||
+ DIST_ARCH="parisc"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
esac
|
||||
|
||||
# Extra architecture detection
|
Loading…
Add table
Add a link
Reference in a new issue