pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Don't forget to pass the rest of the command-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afe5142d5b1e
branches:  trunk
changeset: 493647:afe5142d5b1e
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed May 11 05:44:58 2005 +0000

description:
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:

 mk/tools/rpcgen.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a968a9db1cf3 -r afe5142d5b1e mk/tools/rpcgen.mk
--- a/mk/tools/rpcgen.mk        Wed May 11 05:43:48 2005 +0000
+++ b/mk/tools/rpcgen.mk        Wed May 11 05:44:58 2005 +0000
@@ -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_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.



Home | Main Index | Thread Index | Old Index