diff options
Diffstat (limited to 'emulators/wine/Makefile')
-rw-r--r-- | emulators/wine/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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 |