Print this page
XXX Remove nawk(1)

@@ -1577,17 +1577,17 @@
 MD_XDR_XSRC     =       $(UTSBASE)/common/sys/lvm
 RPCGENFLAGS     +=      -C -M -D_KERNEL -DSYSV
 
 $(MD_XDR_CSRC)/meta_basic_xdr.c:        $(MD_XDR_XSRC)/meta_basic.x
         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/meta_basic.x | \
-        nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
-        nawk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}'  | \
+        /usr/xpg4/bin/awk '{sub(/meta_basic.h/, "md_basic.h"); print $$0}' >$@
 
 $(MD_XDR_CSRC)/metamed_xdr.c:   $(MD_XDR_XSRC)/metamed.x
         $(RPCGEN) $(RPCGENFLAGS) -c -i 100 $(MD_XDR_XSRC)/metamed.x |  \
-        nawk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
-        nawk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
+        /usr/xpg4/bin/awk '{sub(/^#include "(\.\.\/\.\.\/)/,"#include \"\.\.\/\.\.\/\.\.\/\.\.\/"); print $$0}' | \
+        /usr/xpg4/bin/awk '{sub(/metamed.h/, "mdmed.h"); print $$0}' >$@
 
 #
 #       Section 1b:     Lint `objects'
 #
 $(LINTS_DIR)/%.ln:              $(COMMONBASE)/crypto/aes/%.c