diff options
author | joerg <joerg@pkgsrc.org> | 2015-03-31 15:27:37 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-03-31 15:27:37 +0000 |
commit | 2314ffe18f5c2b6027740c24f7c1cca365b2b5ca (patch) | |
tree | 4c85fe666b8157ba515c479eaf212ad7344f57e2 /emulators/wine | |
parent | cdfe4e68d8d71bbf3072b6091e135f22e607986b (diff) | |
download | pkgsrc-2314ffe18f5c2b6027740c24f7c1cca365b2b5ca.tar.gz |
MACHINE_ARCH can be checked by equality.
Diffstat (limited to 'emulators/wine')
-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 |