summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason King <jason.brian.king@gmail.com>2017-06-14 19:48:37 +0000
committerJason King <jason.brian.king@gmail.com>2017-06-14 23:43:04 +0000
commit8e0e88d1006a5fd4999afea7936ffe7620395e58 (patch)
tree79518f4d2c070647296273b81308e6472be10d95
parent806faa6eaa924310ffdfa3a73bcfc87a338c8569 (diff)
downloadillumos-joyent-8e0e88d1006a5fd4999afea7936ffe7620395e58.tar.gz
sgs fix
-rw-r--r--usr/src/cmd/sgs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/Makefile b/usr/src/cmd/sgs/Makefile
index 6dfa9f91d9..f43ea16e2c 100644
--- a/usr/src/cmd/sgs/Makefile
+++ b/usr/src/cmd/sgs/Makefile
@@ -21,6 +21,7 @@
#
# Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 RackTop Systems.
+# Copyright 2017 Joyent, Inc.
#
include $(SRC)/cmd/Makefile.cmd
@@ -123,7 +124,8 @@ _msg: _msg_gettext _msg_sgsmsg
_msg_gettext: $(MSGDOMAIN)/$(POFILE)
-_msg_sgsmsg: $(MSGDIR)
+# $(MACH)/sgsmsg must be built before we can descend into $(MSGDIR)
+_msg_sgsmsg: native-add .WAIT $(MSGDIR)
$(MSGDOMAIN)/$(POFILE): \
$(MSGDOMAIN) $(POFILE)