pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/wine MACHINE_ARCH can be checked by equality.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f6da12b776b9
branches: trunk
changeset: 649076:f6da12b776b9
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Mar 31 15:27:37 2015 +0000
description:
MACHINE_ARCH can be checked by equality.
diffstat:
emulators/wine/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 69481576f3f7 -r f6da12b776b9 emulators/wine/Makefile
--- a/emulators/wine/Makefile Tue Mar 31 15:27:06 2015 +0000
+++ b/emulators/wine/Makefile Tue Mar 31 15:27:37 2015 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index