summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/binutils/as/Makefile.inc0
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-01-27 22:47:22 +0000
committerobrien <obrien@FreeBSD.org>2002-01-27 22:47:22 +0000
commitc3958d9a9e6e0828fe35196bd3d449ac82f7d4a9 (patch)
tree894038b25d9a7d7a3a4a95af6a8c5a83bb774eab /gnu/usr.bin/binutils/as/Makefile.inc0
parentb91a8c787a2f9df28118b752294958db9572fc07 (diff)
downloadFreeBSD-src-c3958d9a9e6e0828fe35196bd3d449ac82f7d4a9.zip
FreeBSD-src-c3958d9a9e6e0828fe35196bd3d449ac82f7d4a9.tar.gz
Change the way the version strings are handled.
Diffstat (limited to 'gnu/usr.bin/binutils/as/Makefile.inc0')
-rw-r--r--gnu/usr.bin/binutils/as/Makefile.inc03
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0
index 2acd1ca..73bae86 100644
--- a/gnu/usr.bin/binutils/as/Makefile.inc0
+++ b/gnu/usr.bin/binutils/as/Makefile.inc0
@@ -14,7 +14,8 @@ SRCS+= app.c as.c atof-generic.c atof-ieee.c bignum-copy.c \
output-file.c read.c sb.c stabs.c \
subsegs.c symbols.c write.c depend.c ehopt.c
CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
-CFLAGS+= -DVERSION=\"${VERSION}\" -DBFD_VERSION=\"${VERSION}\"
+CFLAGS+= -DVERSION=\"${VERSION:C/[ ]?${VERSION_DATE}[ ]?//g}\"
+CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
NOSHARED?= yes
DPADD= ${RELTOP}/libbfd/libbfd.a
DPADD+= ${RELTOP}/libiberty/libiberty.a
OpenPOWER on IntegriCloud