summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2015-03-31 15:27:37 +0000
committerjoerg <joerg>2015-03-31 15:27:37 +0000
commitb7a3f528b7581336f431a180d6345ef8e11d684c (patch)
tree4c85fe666b8157ba515c479eaf212ad7344f57e2 /emulators
parente2a9df5d0d8df0474dfcd3f1ad083b649f34edbb (diff)
downloadpkgsrc-b7a3f528b7581336f431a180d6345ef8e11d684c.tar.gz
MACHINE_ARCH can be checked by equality.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine/Makefile6
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