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:   [patch] net/opal3: patch configure to recognize amd64 CPU type
Message-ID:  <201201260945.q0Q9jS70020544@serene.no-ip.org>

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

>Submitter-Id:	current-users
>Originator:	Conrad J. Sabatier
>Organization:
>Confidential:	no
>Synopsis:	[patch] net/opal3: patch configure to recognize amd64 CPU type
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 10.0-CURRENT amd64
>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 ---





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