From owner-cvs-all Thu Sep 6 10:31:31 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id BA02737B410; Thu, 6 Sep 2001 10:31:23 -0700 (PDT) Received: from daemon.musha.org (daemon.local.idaemons.org [192.168.1.1]) by mail.musha.org (Postfix) with ESMTP id 4EB364D97C; Fri, 7 Sep 2001 02:31:22 +0900 (JST) Date: Fri, 07 Sep 2001 02:31:22 +0900 Message-ID: <86ofoofcph.wl@daemon.musha.org> From: "Akinori MUSHA" To: "David E. O'Brien" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/amd Makefile.inc src/usr.sbin/amd/include newvers.sh In-Reply-To: <200109051654.f85GsMG76921@freefall.freebsd.org> References: <200109051654.f85GsMG76921@freefall.freebsd.org> User-Agent: Wanderlust/2.7.2 (Too Funky) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Wed, 5 Sep 2001 09:54:22 -0700 (PDT), o`brien wrote: > obrien 2001/09/05 09:54:21 PDT > > Modified files: > usr.sbin/amd Makefile.inc > usr.sbin/amd/include newvers.sh > Log: > Try to determine the OS version and architecture for what is being built > vs. the building machine. > > PR: 14040 > > Revision Changes Path > 1.8 +4 -1 src/usr.sbin/amd/Makefile.inc > 1.4 +17 -10 src/usr.sbin/amd/include/newvers.sh You probably need the following patch too? Without it, buildworld fails on my box saying HOST_OS_VERSION is not defined. Index: newvers.sh =================================================================== RCS file: /home/ncvs/src/usr.sbin/amd/include/newvers.sh,v retrieving revision 1.4 diff -u -p -r1.4 newvers.sh --- newvers.sh 5 Sep 2001 16:54:20 -0000 1.4 +++ newvers.sh 6 Sep 2001 17:23:45 -0000 @@ -23,6 +23,9 @@ cat << __NO_newvers_sh /* Define only name of host machine OS (eg. solaris2) */ #define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | sed -e 's/\..*$//'`" +/* Define only version of host machine (eg. 2.5.1) */ +#define HOST_OS_VERSION "`uname -r | sed -e 's/[-(].*//'`" + __NO_newvers_sh fi -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message