svn commit: r246870 - projects/bmake/include
Simon J. Gerraty
sjg at FreeBSD.org
Sat Feb 16 01:36:15 UTC 2013
Author: sjg
Date: Sat Feb 16 01:36:14 2013
New Revision: 246870
URL: http://svnweb.freebsd.org/changeset/base/246870
Log:
Avoid problems with read-only osreldate.h
Modified:
projects/bmake/include/Makefile
Modified: projects/bmake/include/Makefile
==============================================================================
--- projects/bmake/include/Makefile Sat Feb 16 01:32:03 2013 (r246869)
+++ projects/bmake/include/Makefile Sat Feb 16 01:36:14 2013 (r246870)
@@ -99,6 +99,7 @@ osreldate.h: ${.CURDIR}/../sys/conf/newv
@MAKE=${MAKE}; \
PARAMFILE=${.CURDIR}/../sys/sys/param.h; \
. ${.CURDIR}/../sys/conf/newvers.sh; \
+ rm -f osreldate.h; \
echo "$$COPYRIGHT" > osreldate.h; \
echo "#ifdef _KERNEL" >> osreldate.h; \
echo "#error \"<osreldate.h> cannot be used in the kernel, use <sys/param.h>\"" >> osreldate.h; \
More information about the svn-src-projects
mailing list