summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-03-15 23:52:13 +0000
committerimp <imp@FreeBSD.org>2009-03-15 23:52:13 +0000
commiteb1d81774b04c4630352be03c2287a52fdd0453b (patch)
tree5e11c4a1c8bcdc5407e0117c847e34c412ae9f9e /Makefile.inc1
parent172e53d32b65f2bac0f0d0d4080969bb14d3f8e8 (diff)
downloadFreeBSD-src-eb1d81774b04c4630352be03c2287a52fdd0453b.zip
FreeBSD-src-eb1d81774b04c4630352be03c2287a52fdd0453b.tar.gz
Restore missing OSREL definition that accidetnally dropped from an
earlier version of this patch.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d4bd1d2..9f411f3 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
OpenPOWER on IntegriCloud