Module Name: src
Committed By: plunky
Date: Fri Feb 5 17:18:31 UTC 2010
Modified Files:
src/external/bsd/pcc: Makefile.inc config.h
Log Message:
when making VERSSTR, provide the target os/machine rather than the host.
have the CVS checkout date in the PACKAGE_STRING rather than in a separate
definition
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/pcc/Makefile.inc \
src/external/bsd/pcc/config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pcc/Makefile.inc
diff -u src/external/bsd/pcc/Makefile.inc:1.5 src/external/bsd/pcc/Makefile.inc:1.6
--- src/external/bsd/pcc/Makefile.inc:1.5 Fri Feb 5 08:58:47 2010
+++ src/external/bsd/pcc/Makefile.inc Fri Feb 5 17:18:31 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2010/02/05 08:58:47 plunky Exp $
+# $NetBSD: Makefile.inc,v 1.6 2010/02/05 17:18:31 plunky Exp $
PCC_DIR:=${.PARSEDIR}
PCC_DIST=${PCC_DIR}/dist/pcc
@@ -16,7 +16,7 @@
ERROR!= echo "ERROR: ${TARGMACH} not yet supported - write code!" >&2;echo
.endif
-VERSSTR = PACKAGE_STRING " [" PACKAGE_CHECKOUT "] for ${HOST_OSTYPE}"
+VERSSTR = PACKAGE_STRING " for ${TARGOS}-${TARGMACH}"
libexecdir = /usr/libexec
includedir = /usr/include
Index: src/external/bsd/pcc/config.h
diff -u src/external/bsd/pcc/config.h:1.5 src/external/bsd/pcc/config.h:1.6
--- src/external/bsd/pcc/config.h:1.5 Fri Feb 5 08:52:25 2010
+++ src/external/bsd/pcc/config.h Fri Feb 5 17:18:31 2010
@@ -137,7 +137,7 @@
#define PACKAGE_NAME "pcc"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "pcc 0.9.9"
+#define PACKAGE_STRING "pcc 0.9.9 [20090902]"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pcc"
@@ -189,9 +189,6 @@
/* Version string */
/* #define VERSSTR "pcc 0.9.9 for i386-pc-netbsdelf, g...@sparky Wed Aug 13 22:19:18 EST 2008" */
-/* PCC checkout date */
-#define PACKAGE_CHECKOUT "20090902"
-
/* Size of wide character type */
#define WCHAR_SIZE 4