From vd@datamax.bg  Tue Nov 15 11:57:57 2005
Return-Path: <vd@datamax.bg>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 58D5416A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Nov 2005 11:57:57 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B7F8343D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Nov 2005 11:57:56 +0000 (GMT)
	(envelope-from vd@datamax.bg)
Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2])
	by jengal.datamax.bg (Postfix) with SMTP id 3C477B830;
	Tue, 15 Nov 2005 13:57:54 +0200 (EET)
Received: (nullmailer pid 29010 invoked by uid 1002);
	Tue, 15 Nov 2005 11:57:54 -0000
Message-Id: <20051115115754.GA28957@qlovarnika.bg.datamax>
Date: Tue, 15 Nov 2005 13:57:54 +0200
From: Vasil Dimov <vd@datamax.bg>
Reply-To: vd@datamax.bg
To: FreeBSD-gnats-submit@freebsd.org
Cc: nox@jelal.kn-bremen.de
Subject: [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"
X-Send-Pr-Version: 3.113

>Number:         89064
>Category:       ports
>Synopsis:       [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 15 12:00:30 GMT 2005
>Closed-Date:    Wed Nov 16 01:33:34 GMT 2005
>Last-Modified:  Wed Nov 16 01:33:34 GMT 2005
>Originator:     Vasil Dimov
>Release:        FreeBSD 6.0-STABLE amd64
>Organization:
DataMax
>Environment:

System: FreeBSD qlovarnika.bg.datamax 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Nov  8 09:24:59 EET 2005     root@qlovarnika.bg.datamax:/usr/obj/usr/src/sys/QLOVARNIKA  amd64

>Description:

emulators/qemu refuses to build on amd64 with the message
"qemu-0.7.2s.20051112 is only for amd64 i386, and you are running x86_64."

>How-To-Repeat:

/usr/ports/emulators/qemu# uname -p
amd64
/usr/ports/emulators/qemu# make
===>  qemu-0.7.2s.20051112 is only for amd64 i386, and you are running x86_64.
/usr/ports/emulators/qemu#

>Fix:

--- qemu_amd64.diff begins here ---
Index: Makefile
===================================================================
RCS file: /usr/local/cvsupdroot/ports/emulators/qemu/Makefile,v
retrieving revision 1.36
diff -u -r1.36 Makefile
--- Makefile	14 Nov 2005 05:17:09 -0000	1.36
+++ Makefile	15 Nov 2005 11:51:54 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	qemu
 PORTVERSION=	0.7.2s.20051112
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	emulators
 MASTER_SITES=	http://www.qemu.org/:release \
 		http://people.fruitsalad.org/nox/qemu/:snapshot \
@@ -47,7 +47,7 @@
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "amd64"
-ARCH=		x86_64
+MAKE_ARGS=	ARCH=x86_64
 .endif
 USE_GCC=	3.4
 
--- qemu_amd64.diff ends here ---
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 15 12:03:15 GMT 2005 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89064 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: nox@jelal.kn-bremen.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/89064: [patch] emulators/qemu refuses to build on amd64 saying "you are running x86_64"
Date: Tue, 15 Nov 2005 12:03:10 UT

 Maintainer of emulators/qemu,
 
 Please note that PR ports/89064 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/89064
 
 -- 
 Edwin Groothuis
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Tue Nov 15 12:16:41 GMT 2005 
Responsible-Changed-Why:  
Take 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89064 
State-Changed-From-To: feedback->closed 
State-Changed-By: lawrance 
State-Changed-When: Wed Nov 16 01:28:37 GMT 2005 
State-Changed-Why:  
Committed, thanks!  No need to bump PORTREVISION. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89064 
>Unformatted:
