From badf7d2584f425aefdc87d6d28b00128cbce4cc8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 15 Mar 2009 23:52:13 +0000 Subject: [PATCH] Restore missing OSREL definition that accidetnally dropped from an earlier version of this patch. --- Makefile.inc1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index d4bd1d242121..9f411f36368e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1338,6 +1338,9 @@ CDTMP= ${MAKEOBJDIRPREFIX}/${XDEV}/${.CURDIR}/tmp 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