[EXIM] small patch to arch-type

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: NoRM
Dátum:  
Címzett: exim-users
Tárgy: [EXIM] small patch to arch-type
I just went to upgrade to 3.01, and noticed that the build directory
created was called 'build-NetBSD-NetBSD'. Because NetBSD as standard sets
$MACHTYPE to 'NetBSD' rather than the architecture of the machine. So
here's a little patch:


(fermion:12)% diff -c arch-type.old arch-type
*** arch-type.old       Wed May 19 09:23:47 1999
--- arch-type   Fri May 28 16:03:41 1999
***************
*** 6,11 ****
--- 6,14 ----


case "$ARCHTYPE" in ?*) arch="$ARCHTYPE";; esac

+ # NetBSD uses MACHTYPE instead
+ case "$MACHTYPE" in ?*) arch="$MACHTYPE";; esac
+
# Otherwise, as a cheap test, try shell's HOSTTYPE.

case "$arch++$HOSTTYPE" in


           Norman R. McBride                   "Blessed is the norm."
           http://www.alces.net/~norm/                   John Wyndham




--
*** Exim information can be found at http://www.exim.org/ ***