#!/bin/sh mach=`uname -m` case $mach in i386|sparc|m68k) 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