Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pcc when making VERSSTR, provide the target os/...



details:   https://anonhg.NetBSD.org/src/rev/495c005dacdc
branches:  trunk
changeset: 751488:495c005dacdc
user:      plunky <plunky%NetBSD.org@localhost>
date:      Fri Feb 05 17:18:31 2010 +0000

description:
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

diffstat:

 external/bsd/pcc/Makefile.inc |  4 ++--
 external/bsd/pcc/config.h     |  5 +----
 2 files changed, 3 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 4d852544a6e4 -r 495c005dacdc external/bsd/pcc/Makefile.inc
--- a/external/bsd/pcc/Makefile.inc     Fri Feb 05 16:54:11 2010 +0000
+++ b/external/bsd/pcc/Makefile.inc     Fri Feb 05 17:18:31 2010 +0000
@@ -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
diff -r 4d852544a6e4 -r 495c005dacdc external/bsd/pcc/config.h
--- a/external/bsd/pcc/config.h Fri Feb 05 16:54:11 2010 +0000
+++ b/external/bsd/pcc/config.h Fri Feb 05 17:18:31 2010 +0000
@@ -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, greg@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
 



Home | Main Index | Thread Index | Old Index