diff --git a/net/openafs/Makefile b/net/openafs/Makefile index e229dab6c7a..7829868dd06 100644 --- a/net/openafs/Makefile +++ b/net/openafs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.40 2012/04/28 10:52:08 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.41 2012/06/04 20:20:07 pascal Exp $ ONLY_FOR_ARCHS= i386 @@ -68,13 +68,9 @@ CONFIGURE_ARGS+= --enable-debug CONFIGURE_ARGS+= --enable-debug-lwp .endif -.if ${MACHINE} == "alpha" || \ - ${MACHINE} == "amd64" || \ - ${MACHINE} == "arm" || \ - ${MACHINE} == "i386" || \ - ${MACHINE} == "mips64" || \ - ${MACHINE} == "sh" || \ - ${MACHINE} == "vax" +.include + +.if ${PROPERTIES:Mle} CONFIGURE_ARGS+= --enable-littleendian .else CONFIGURE_ARGS+= --enable-bigendian