summaryrefslogtreecommitdiff
path: root/mk/tools/rpcgen.mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-05-11 05:44:58 +0000
committerjlam <jlam>2005-05-11 05:44:58 +0000
commitacb05f01893e8f3b58e2f67b0ffa62f9e6587564 (patch)
treea4792217d65bed824bf326020ab6e188754bd0cf /mk/tools/rpcgen.mk
parentb1c3f3baef159ee40ee1b8f35d0d7623e91e8933 (diff)
downloadpkgsrc-acb05f01893e8f3b58e2f67b0ffa62f9e6587564.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.mk4
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.