Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 03:45:28 -0600 (CST)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/164504: [patch] net/opal3: patch configure to recognize amd64 CPU type
Message-ID:  <201201260945.q0Q9jS70020544@serene.no-ip.org>
Resent-Message-ID: <201201260950.q0Q9o0ab050783@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         164504
>Category:       ports
>Synopsis:       [patch] net/opal3: patch configure to recognize amd64 CPU type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 26 09:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Wed Jan 25 15:16:10 CST 2012 root@serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64

>Description:
	patch configure script to recognize amd64 in the test for cpu 
	type, eliminating the following warning in "make configure":

	configure: WARNING: "CPU amd64 not recognized - proceed with caution!"

>How-To-Repeat:
	N/A
>Fix:
	patch below

--- patch-configure begins here ---
--- configure.orig	2012-01-26 02:29:34.000000000 -0600
+++ configure	2012-01-26 02:30:16.000000000 -0600
@@ -4636,7 +4636,7 @@
 MACHTYPE=
 case "$target_cpu" in
    x86 | i686 | i586 | i486 | i386 )                    MACHTYPE=x86;        ;;
-   x86_64)	                                        MACHTYPE=x86_64;     ;;
+   amd64 | x86_64)                                      MACHTYPE=x86_64;     ;;
    alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) MACHTYPE=alpha;      ;;
    hppa )                                               MACHTYPE=hppa;       ;;
    hppa64 )                                             MACHTYPE=hppa64;     ;;
--- patch-configure ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201260945.q0Q9jS70020544>