Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/mandoc Hard-wire NetBSD major+minor version for the to...
details: https://anonhg.NetBSD.org/src/rev/c988a737c475
branches: trunk
changeset: 748550:c988a737c475
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Oct 26 21:17:19 2009 +0000
description:
Hard-wire NetBSD major+minor version for the tool version of mandoc.
This gives "NetBSD 5.99" for .Os in -current and "NetBSD 6.0" for the
next release.
diffstat:
tools/mandoc/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r c2ae8b760c92 -r c988a737c475 tools/mandoc/Makefile
--- a/tools/mandoc/Makefile Mon Oct 26 21:16:49 2009 +0000
+++ b/tools/mandoc/Makefile Mon Oct 26 21:17:19 2009 +0000
@@ -1,6 +1,13 @@
-# $NetBSD: Makefile,v 1.1 2009/10/21 18:04:52 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2009/10/26 21:17:19 joerg Exp $
HOSTPROGNAME= ${_TOOL_PREFIX}mandoc
HOST_SRCDIR= external/bsd/mdocml/bin/mandoc
+.include <bsd.own.mk>
+
+NETBSD_MINOR!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -n
+NETBSD_OSNAME= "NetBSD ${NETBSD_MINOR}"
+
+HOST_CPPFLAGS+= -DOSNAME=${NETBSD_OSNAME:Q}
+
.include "${.CURDIR}/../Makefile.host"
Home |
Main Index |
Thread Index |
Old Index