svn commit: r197211 - projects/jbuild/usr.bin/jbuild/port
Craig Rodrigues
rodrigc at FreeBSD.org
Tue Sep 15 02:04:16 UTC 2009
Author: rodrigc
Date: Tue Sep 15 02:04:16 2009
New Revision: 197211
URL: http://svn.freebsd.org/changeset/base/197211
Log:
Create a file with some version info about the host we are building on.
Modified:
projects/jbuild/usr.bin/jbuild/port/Makefile
Modified: projects/jbuild/usr.bin/jbuild/port/Makefile
==============================================================================
--- projects/jbuild/usr.bin/jbuild/port/Makefile Tue Sep 15 01:01:03 2009 (r197210)
+++ projects/jbuild/usr.bin/jbuild/port/Makefile Tue Sep 15 02:04:16 2009 (r197211)
@@ -24,6 +24,8 @@ do-extract:
mkdir -p ${WRKSRC}
( cd ${WRKSRC} ; ln -s ../../../filemon . ; ln -s ../../../../jbuild .; ln -s ../../../../jdirdep .; ln -s ../../../../make .)
cp Makefile.port ${WRKSRC}/Makefile
+ echo "UNAME="`uname | tr '[:upper:]' '[:lower:]'` > ${WRKDIR}/host_version
+ echo "MAJORVERSION="`uname -r | sed -e 's/\..*//'` >> ${WRKDIR}/host_version
do-install:
mkdir -p ${KMODDIR}
More information about the svn-src-projects
mailing list