Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 23:52:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189865 - head
Message-ID:  <200903152352.n2FNqDHk043019@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Mar 15 23:52:13 2009
New Revision: 189865
URL: http://svn.freebsd.org/changeset/base/189865

Log:
  Restore missing OSREL definition that accidetnally dropped from an
  earlier version of this patch.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Sun Mar 15 22:33:18 2009	(r189864)
+++ head/Makefile.inc1	Sun Mar 15 23:52:13 2009	(r189865)
@@ -1338,6 +1338,9 @@ CDTMP=	${MAKEOBJDIRPREFIX}/${XDEV}/${.CU
 CDMAKE=${CDENV} ${MAKE} ${NOFUN}
 CD2MAKE=${CD2ENV} PATH=${CDTMP}/usr/bin:${XDTP}/usr/bin:${PATH} ${MAKE} ${NOFUN}
 XDDESTDIR=${DESTDIR}${XDTP}
+.if !defined(OSREL)
+OSREL!= uname -r | sed -e 's/[-(].*//'
+.endif
 
 .ORDER: xdev-build xdev-install
 xdev: xdev-build xdev-install



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