summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2002-10-12 21:23:53 +0000
committermp <mp@FreeBSD.org>2002-10-12 21:23:53 +0000
commit372f065cc698edab8dee88d76cb8d1465537ef7f (patch)
tree23723fcb0b1effb65eccee623376e4eeca77af15 /gnu
parent238cc38f206701524deccd70b54b17b99cbe0a43 (diff)
downloadFreeBSD-src-372f065cc698edab8dee88d76cb8d1465537ef7f.zip
FreeBSD-src-372f065cc698edab8dee88d76cb8d1465537ef7f.tar.gz
Remove dependency on version.in for version information.
Submitted by: obrien
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/Makefile b/gnu/usr.bin/binutils/gdb/Makefile
index f36b782..7ce9853 100644
--- a/gnu/usr.bin/binutils/gdb/Makefile
+++ b/gnu/usr.bin/binutils/gdb/Makefile
@@ -135,9 +135,10 @@ ${H:C/-.*$//}.h:
${.TARGET}
.endfor
-gdbversion.c: version.in
+GDB_VERSION= "5.2.1 (FreeBSD)"
+gdbversion.c:
@echo '#include "version.h"' > ${.TARGET}
- @echo 'const char version[] = "'"`sed q ${.ALLSRC}`"'";'>>${.TARGET}
+ @echo 'const char version[] = ${GDB_VERSION};' >>${.TARGET}
@echo 'const char host_name[] = "${MACHINE_ARCH}-undermydesk-freebsd";' >>${.TARGET}
@echo 'const char target_name[] = "${TARGET_ARCH}-undermydesk-freebsd";' >>${.TARGET}
OpenPOWER on IntegriCloud