=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/Attic/Makefile.bsd-wrapper,v retrieving revision 1.21 retrieving revision 1.22 diff -c -r1.21 -r1.22 *** src/usr.bin/less/Attic/Makefile.bsd-wrapper 2003/04/16 17:54:20 1.21 --- src/usr.bin/less/Attic/Makefile.bsd-wrapper 2006/10/14 20:20:51 1.22 *************** *** 1,4 **** ! # $OpenBSD: Makefile.bsd-wrapper,v 1.21 2003/04/16 17:54:20 millert Exp $ # # less config --- 1,4 ---- ! # $OpenBSD: Makefile.bsd-wrapper,v 1.22 2006/10/14 20:20:51 drahn Exp $ # # less config *************** *** 28,33 **** --- 28,38 ---- CF= --cache-file=${GLOBAL_AUTOCONF_CACHE} .else CF= --cache-file=config.cache + .endif + + HOST_ARCH!=arch -s + .if (${MACHINE_ARCH} != ${HOST_ARCH}) + CF+= --target=openbsd-${MACHINE_ARCH} --host=${HOST_ARCH} .endif config: .FORCE