diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-11 05:44:58 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-11 05:44:58 +0000 |
commit | 62c0222458c214e159bb64ca98f0de4cae1123bc (patch) | |
tree | a4792217d65bed824bf326020ab6e188754bd0cf /mk/tools/rpcgen.mk | |
parent | 52a8db644e243254adf75b553cab6cf76722a1bc (diff) | |
download | pkgsrc-62c0222458c214e159bb64ca98f0de4cae1123bc.tar.gz |
Don't forget to pass the rest of the command-line arguments "$@" to
the command, or else the wrapper will ignore all of its arguments.
This fixes the rpcgen script to actually work.
Diffstat (limited to 'mk/tools/rpcgen.mk')
-rw-r--r-- | mk/tools/rpcgen.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/rpcgen.mk b/mk/tools/rpcgen.mk index 50b97d84b56..6c0480d2354 100644 --- a/mk/tools/rpcgen.mk +++ b/mk/tools/rpcgen.mk @@ -1,4 +1,4 @@ -# $NetBSD: rpcgen.mk,v 1.4 2005/05/09 01:11:58 jlam Exp $ +# $NetBSD: rpcgen.mk,v 1.5 2005/05/11 05:44:58 jlam Exp $ # Create an rpcgen script that correctly sets the CPP environment # variable to a stat(2)able path to a C preprocessor, then invokes @@ -20,7 +20,7 @@ TOOLS_CMD.rpcgen= ${TOOLS_DIR}/bin/rpcgen TOOLS_REAL_ARGS.rpcgen?= -b .endif TOOLS_REAL_CMDLINE.rpcgen= \ - CPP=${WRAPPER_BINDIR:Q}/cpp ${TOOLS_REAL_CMD.rpcgen} ${TOOLS_REAL_ARGS.rpcgen} + CPP=${WRAPPER_BINDIR:Q}/cpp ${TOOLS_REAL_CMD.rpcgen} ${TOOLS_REAL_ARGS.rpcgen} "$$@" # Make ${RPCGEN} call the "rpcgen" through the PATH, which should find # the rpcgen tool wrapper. |