--- a/components/pconsole/Makefile Mon May 09 20:56:05 2016 -0700
+++ b/components/pconsole/Makefile Tue May 10 18:16:07 2016 -0700
@@ -20,7 +20,7 @@
#
#
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
#
include ../../make-rules/shared-macros.mk
@@ -68,3 +68,4 @@
REQUIRED_PACKAGES += shell/bash
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += text/gawk
--- a/components/pconsole/patches/pconsole.sh.in.patch Mon May 09 20:56:05 2016 -0700
+++ b/components/pconsole/patches/pconsole.sh.in.patch Tue May 10 18:16:07 2016 -0700
@@ -28,7 +28,7 @@
set -x
fi
-! PATH=/usr/sbin:/usr/bin:/etc
+! PATH=/usr/gnu/bin:/usr/sbin:/usr/bin:/etc
prefix=@prefix@
exec_prefix=@exec_prefix@
--- a/components/pconsole/pconsole.p5m Mon May 09 20:56:05 2016 -0700
+++ b/components/pconsole/pconsole.p5m Tue May 10 18:16:07 2016 -0700
@@ -20,7 +20,7 @@
#
#
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
@@ -44,3 +44,6 @@
file usr/bin/ssh.sh path=usr/share/doc/pconsole/ssh.sh mode=0555
file files/pconsole.1 path=usr/share/man/man1/pconsole.1
license pconsole.copyright license="GPLv2, CDDLv1.0"
+
+# /usr/sbin/pconsole dependency on /usr/gnu/bin/awk is not automatically found.
+depend type=require fmri=__TBD pkg.debug.depend.file=usr/gnu/bin/awk