summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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