aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap_cmds/migcom.tproj/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap_cmds/migcom.tproj/Makefile')
-rw-r--r--bootstrap_cmds/migcom.tproj/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap_cmds/migcom.tproj/Makefile b/bootstrap_cmds/migcom.tproj/Makefile
index 6677a74..150a059 100644
--- a/bootstrap_cmds/migcom.tproj/Makefile
+++ b/bootstrap_cmds/migcom.tproj/Makefile
@@ -14,7 +14,9 @@ SRCS= error.c \
parser.y
SCRIPTS= mig.sh
-CFLAGS+=-DMIG_VERSION=\"mig-116.100.1\"
+VERSION!= cat ${.CURDIR}/../.apple_version
+
+CFLAGS+=-DMIG_VERSION=\"mig-${VERSION}\"
BINDIR=/usr/libexec/
SCRIPTSDIR=/usr/bin/