From conrads@cox.net  Sun Nov 24 11:36:44 2002
Return-Path: <conrads@cox.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EF15837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Nov 2002 11:36:44 -0800 (PST)
Received: from ip68-14-62-49.no.no.cox.net (ip68-14-62-49.no.no.cox.net [68.14.62.49])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2076F43EA3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Nov 2002 11:36:44 -0800 (PST)
	(envelope-from conrads@cox.net)
Received: from ip68-14-62-49.no.no.cox.net (localhost [127.0.0.1])
	by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6) with ESMTP id gAOJafAi029163
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 24 Nov 2002 13:36:41 -0600 (CST)
	(envelope-from conrads@ip68-14-62-49.no.no.cox.net)
Received: (from root@localhost)
	by ip68-14-62-49.no.no.cox.net (8.12.6/8.12.6/Submit) id gAOJaWsk029162;
	Sun, 24 Nov 2002 13:36:32 -0600 (CST)
	(envelope-from conrads)
Message-Id: <200211241936.gAOJaWsk029162@ip68-14-62-49.no.no.cox.net>
Date: Sun, 24 Nov 2002 13:36:32 -0600 (CST)
From: Conrad Sabatier <conrads@cox.net>
Reply-To: Conrad Sabatier <conrads@cox.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ogle: configure adds unwanted -march, -mcpu flags on i386
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45688
>Category:       ports
>Synopsis:       ogle: configure adds unwanted -march, -mcpu flags on i386
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 24 11:40:00 PST 2002
>Closed-Date:    Tue Nov 26 07:08:12 PST 2002
>Last-Modified:  Tue Nov 26 07:08:12 PST 2002
>Originator:     Conrad Sabatier
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
None
>Environment:
System: FreeBSD ip68-14-62-49.no.no.cox.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Nov 24 05:24:23 CST 2002 conrads@ip68-14-62-49.no.no.cox.net:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	configure script in graphics/ogle unconditionally adds
	-march=i586 -mcpu=pentiumpro on i386 arch
>How-To-Repeat:
	cd /usr/ports/graphics/ogle; make
>Fix:
	Add the following patch:

--- configure.orig      Sun Nov 24 13:20:46 2002
+++ configure   Sun Nov 24 13:21:17 2002
@@ -13593,7 +13593,7 @@
 i?86)
        if test "x$GCC" = xyes; then
          CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops"
-         XCFLAGS="$CFLAGS -march=i586 -mcpu=pentiumpro"
+         XCFLAGS="$CFLAGS"
        fi
        USE_MMX=yes
        ;;
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->lioux 
Responsible-Changed-By: pat 
Responsible-Changed-When: Sun Nov 24 13:11:08 PST 2002 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45688 
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Tue Nov 26 07:08:11 PST 2002 
State-Changed-Why:  
Committed, thanks! 

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