From b7a3f528b7581336f431a180d6345ef8e11d684c Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 31 Mar 2015 15:27:37 +0000 Subject: MACHINE_ARCH can be checked by equality. --- emulators/wine/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'emulators') diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 74ffb89fe08..965447ad299 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.184 2014/06/18 09:28:16 wiz Exp $ +# $NetBSD: Makefile,v 1.185 2015/03/31 15:27:37 joerg Exp $ DISTNAME= wine-1.6.2 PKGREVISION= 4 @@ -40,14 +40,14 @@ LIBS+= ${LDFLAGS} # options are passed through as these values are used with winegcc # (which wrapper doesn't handle). .include "../../mk/bsd.prefs.mk" -.if !empty(MACHINE_ARCH:Mi386) +.if ${MACHINE_ARCH} == "i386" CONFIGURE_ENV+= ac_cv_prog_CC=${CC:Q}\ -m32 CONFIGURE_ENV+= ac_cv_prog_CXX=${CXX:Q}\ -m32 CONFIGURE_ENV+= ac_cv_prog_AS=${AS:Q}\ --32 CONFIGURE_ENV+= ac_cv_prog_LD=${LD:Q}\ -m\ elf_i386 .endif # Needs GCC >= 4.4 -.if !empty(MACHINE_ARCH:Mx86_64) +.if ${MACHINE_ARCH} == "x86_64" CONFIGURE_ARGS+= --disable-win16 CONFIGURE_ARGS+= --enable-win64 .endif -- cgit v1.2.3