Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Sep 2001 02:31:22 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
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
Message-ID:  <86ofoofcph.wl@daemon.musha.org>
In-Reply-To: <200109051654.f85GsMG76921@freefall.freebsd.org>
References:  <200109051654.f85GsMG76921@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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