blob: 3d05e09407d6b8f22aa7717e046b1ad79b6a137d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
mach=`uname -m`
case $mach in
i386|sparc|amiga|atari|hp300|mac68k|mvme68k|sun3|sun3x|x68k)
exetype=aout
;;
pmax|alpha)
exetype=elf
;;
*)
echo "Unrecognised machine type: $mach"
exit 1
;;
esac
ln -sf ${WRKSRC}/config/untested/$exetype-netbsd-cc ${WRKSRC}/config/system
ln -sf ${WRKSRC}/config/sites/$exetype-netbsd ${WRKSRC}/config/site
exit 0
|